From 79fb9c3a136bd026655a1352ff4636e7bf567f77 Mon Sep 17 00:00:00 2001 From: Darius Neatu Date: Thu, 14 Nov 2024 18:00:22 +0200 Subject: [PATCH] Reapply CMAKE.SKIP_TESTS after Beman Standard update --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 86ab3fe..40241aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ option(BEMAN_ITERATOR_INTERFACE_USE_DEDUCING_THIS "Make use of C++23 \"deducing this\" feature (P0847R7). Turn this off for non-conforming compilers." ${COMPILER_SUPPORTS_DEDUCING_THIS}) -option(BEMAN_ITERATOR_INTERFACE_BUILD_TESTING +option(BEMAN_ITERATOR_INTERFACE_BUILD_TESTS "Enable building tests and test infrastructure. Default: ON. Values: {ON, OFF}." ${PROJECT_IS_TOP_LEVEL}) option(BEMAN_ITERATOR_INTERFACE_BUILD_EXAMPLES @@ -45,7 +45,7 @@ configure_file( "${PROJECT_SOURCE_DIR}/include/beman/iterator_interface/config.hpp.in" "${PROJECT_BINARY_DIR}/include/beman/iterator_interface/config.hpp" @ONLY) -if(BEMAN_ITERATOR_INTERFACE_BUILD_TESTING) +if(BEMAN_ITERATOR_INTERFACE_BUILD_TESTS) # Fetch GoogleTest FetchContent_Declare( googletest @@ -81,7 +81,7 @@ target_include_directories( add_subdirectory(src/beman/iterator_interface) add_subdirectory(include/beman/iterator_interface) -if(BEMAN_ITERATOR_INTERFACE_BUILD_TESTING) +if(BEMAN_ITERATOR_INTERFACE_BUILD_TESTS) add_subdirectory(tests/beman/iterator_interface) endif()