2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Small CML fixes

This commit is contained in:
Matt Borland
2024-07-23 13:49:20 -04:00
parent b293df07a9
commit fcf7ba8f3b
2 changed files with 3 additions and 5 deletions

View File

@@ -45,10 +45,8 @@ if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
add_subdirectory(test)
endif()
# Only enable tests when we're the root project
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
elseif(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
include(CTest)
add_subdirectory(test)