You need to sign in or sign up before continuing.
Backport: CMakeLists.txt: Add option to disable building the test suite
requested to merge github/fork/t-b/add-switch-for-disabling-building-the-tests-backport into 9.3-backports
We now support switching the test suite build off using the standard CTest option BUILD_TESTING.
This allows environments where the test compilation fails to skip it in a consistent manner.
This also removes the unconditional call to enable_testing() which the CTest module now does only if BUILD_TESTING is ON.
Co-authored-by: Michal Liszcz liszcz.michal@gmail.com