Skip to content

Commit

Permalink
Reapply CMAKE.SKIP_TESTS after Beman Standard update
Browse files Browse the repository at this point in the history
  • Loading branch information
neatudarius committed Nov 14, 2024
1 parent ec9fb07 commit 79fb9c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit 79fb9c3

Please sign in to comment.