Closed traversaro closed 1 year ago
By default include(CTest) makes BUILD_TESTING ON, but to avoid that users compile tests even if they do not use them, we can explicitly add the option and set it to OFF.
include(CTest)
BUILD_TESTING
ON
OFF
Thank you!
By default
include(CTest)
makesBUILD_TESTING
ON
, but to avoid that users compile tests even if they do not use them, we can explicitly add the option and set it toOFF
.