commit 22c64e17692aa9a413519f6e54e3bbecd2840432 parent 774a368532e6c004fca291cd74c37409d362e4a7 Author: Christophe Coustet <christophe.coustet@meso-star.com> Date: Fri, 24 Jan 2020 17:04:39 +0100 Make some tests optional Diffstat:
| M | cmake/CMakeLists.txt | | | 10 | ++++++---- |
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -24,11 +24,13 @@ option(NO_TEST "Do not build tests" OFF) -CMAKE_DEPENDENT_OPTION(SMALL_ADDITIONAL_TESTS - "Build small additional tests originally written for star-enclosures" OFF "NOT NO_TEST" OFF) +cmake_dependent_option(SMALL_ADDITIONAL_TESTS + "Build small additional tests originally written for star-enclosures" OFF + "NOT NO_TEST" OFF) -CMAKE_DEPENDENT_OPTION(HUGE_ADDITIONAL_TESTS - "Build additional tests originally written for star-enclosures that involve millions of segments" OFF "NOT NO_TEST" OFF) +cmake_dependent_option(HUGE_ADDITIONAL_TESTS + "Build additional tests originally written for star-enclosures that involve millions of segments" OFF + "NOT NO_TEST" OFF) ################################################################################ # Check dependencies