commit 1dd010109d84ef1c23e24eaf24564c5d63ad1649 parent fe2b03e8a8d010fe74b0fbc2ae901c045645811d Author: Christophe Coustet <christophe.coustet@meso-star.com> Date: Wed, 15 Jan 2020 10:34:54 +0100 Fix cmake options Diffstat:
| M | cmake/CMakeLists.txt | | | 15 | ++++++--------- |
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -23,15 +23,12 @@ set(STAR_GEOM_SOURCE_DIR ${PROJECT_SOURCE_DIR}/../src) option(NO_TEST "Do not build tests" OFF) -option(SMALL_ADDITIONAL_TESTS - "Build small additional tests originally written for star-enclosures" - OFF) -option(HUGE_ADDITIONAL_TESTS - "Build additional tests originally written for star-enclosures that involve millions of triangles" - OFF) -CMAKE_DEPENDENT_OPTION(ALL_TESTS - "Perform basic and advanced tests" 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 triangles" OFF "NOT NO_TEST" OFF) ################################################################################ # Check dependencies @@ -110,7 +107,7 @@ set_target_properties(sg3 PROPERTIES SOVERSION ${VERSION_MAJOR}) rcmake_copy_runtime_libraries(sg3) -rcmake_setup_devel(sg3 StarGeom ${VERSION} sg3_version.h) +rcmake_setup_devel(sg3 StarGeom ${VERSION} star/sg3_version.h) ################################################################################ # Add tests