Closed 4brunu closed 8 years ago
Automated message from Dropbox CLA bot
@4brunu, it looks like you've already signed the Dropbox CLA. Thanks!
How to disable the Unit tests
Disable in CMakeLists.txt:
set(JSON11_BUILD_TESTS OFF CACHE BOOL "json11 Build unit tests")
Disable in the Command line:
cmake -DJSON11_BUILD_TESTS:BOOL=OFF ...
This PR make the unit tests optional.
By default the unit tests are still enabled, so It's backwards compatible.
This fixes this problem when integrating this library using CMake on iOS. http://stackoverflow.com/questions/37880180/error-creating-ios-static-library-using-cmake