I think a standard BUILD_TESTING option is better in this case? Meanwhile, setting JSON_BuildTests=ON prevents the user from disabling the unit test build from parent CMakeLists.txt.
I think a standard BUILD_TESTING option is better in this case?
Meanwhile, setting JSON_BuildTests=ON prevents the user from disabling the unit test build from parent CMakeLists.txt.