Closed ferluht closed 2 years ago
Hi @ferluht . To disable tests set BUILD_TESTING
to OFF
from command line, CTest module will not enable it again if it disabled manually. Documentation lack here.
cmake .. -DBUILD_TESTING=OFF
Yes, that works in case of console build. My case is to build libsamplerate as a subproject from upper CMakeLists, so this option doesn't work without libsamplerate code change
thanks @ferluht .
BUILD_TESTING was always set to ON by include(CTest) Now LIBSAMPLERATE_TESTS can be used to disable tests build