Tencent / rapidjson

A fast JSON parser/generator for C++ with both SAX/DOM style API
http://rapidjson.org/
Other
14k stars 3.5k forks source link

test/unittest/CMakeLists.txt: balance if()/endif() guards #2276

Open trofi opened 1 month ago

trofi commented 1 month ago

Without the change cmake warns about mismatching guards as:

CMake Warning (dev) in test/unittest/CMakeLists.txt:
  A logical block opening on the line
    /build/rapidjson/test/unittest/CMakeLists.txt:83 (if)
  closes on the line
    /build/rapidjson/test/unittest/CMakeLists.txt:95 (endif)
  with mis-matching arguments.
tencent-adm commented 1 month ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.