From 069650fb878b78726ea60daa3ad848a94095124b Mon Sep 17 00:00:00 2001 From: Matthias Frey Date: Fri, 24 Dec 2021 08:56:19 +0000 Subject: [PATCH 1/2] rename options --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a401fbfa4..2d847ab90 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,12 +66,12 @@ option (ENABLE_SOLVERS "Enable IPPL solvers" OFF) add_subdirectory (src) -option (ENABLE_IPPLTESTS "IPPL Tests" OFF) -if (ENABLE_IPPLTESTS) +option (ENABLE_TESTS "Enable IPPL tests" OFF) +if (ENABLE_TESTS) add_subdirectory (test) endif () -option (ENABLE_ALPINE, "Alpine" OFF) +option (ENABLE_ALPINE, "Enable Alpine" OFF) if (ENABLE_ALPINE) if (NOT ENABLE_SOLVERS) message (FATAL_ERROR "Cannot enable Alpine since Solver not enabled (-DENABLE_SOLVERS=ON)!") @@ -83,8 +83,8 @@ if (ENABLE_ALPINE) add_subdirectory (alpine) endif () -option (BUILD_UNIT_TESTS "Unit tests" OFF) -if (BUILD_UNIT_TESTS) +option (ENABLE_UNIT_TESTS "Enable unit tests" OFF) +if (ENABLE_UNIT_TESTS) find_package (GTest REQUIRED HINT $ENV{GTEST_PREFIX}) add_subdirectory (unit_tests) endif () From 4c094544b00aff30a90dbc9f6e891443accc7129 Mon Sep 17 00:00:00 2001 From: Matthias Frey Date: Fri, 24 Dec 2021 08:56:42 +0000 Subject: [PATCH 2/2] enabling --> enable --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2d847ab90..91e072bf8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,7 +79,7 @@ if (ENABLE_ALPINE) if (NOT ENABLE_FFT) message (FATAL_ERROR "Cannot enable Alpine since FFT not enabled (-DENABLE_FFT=ON)!") endif () - message (STATUS "Enabling Alpine") + message (STATUS "Enable Alpine") add_subdirectory (alpine) endif ()