CMake: Remove obsolete Catch2 setting

This commit is contained in:
Tony Wasserka 2024-05-03 15:25:42 +02:00
parent eddb7d12cc
commit 472860a840

View File

@ -235,8 +235,6 @@ add_definitions(-Wno-trigraphs)
add_definitions(-DGLOBAL_DATA_DIRECTORY="${DATA_DIRECTORY}/") add_definitions(-DGLOBAL_DATA_DIRECTORY="${DATA_DIRECTORY}/")
if (BUILD_TESTS) if (BUILD_TESTS)
option(CATCH_BUILD_STATIC_LIBRARY "" ON)
set(CATCH_BUILD_STATIC_LIBRARY ON)
add_subdirectory(External/Catch2/) add_subdirectory(External/Catch2/)
# Pull in catch_discover_tests definition # Pull in catch_discover_tests definition