File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- include (CTest )
21include (DownloadProject )
32
43# Download and configure Catch2 for the tests
@@ -8,7 +7,6 @@ download_project(PROJ Catch2
87 UPDATE_DISCONNECTED 1
98)
109list (APPEND CMAKE_MODULE_PATH ${Catch2_SOURCE_DIR} /contrib)
11- include (ParseAndAddCatchTests )
1210
1311# Configure Catch2 so that it looks like a proper target
1412add_library (Catch2 INTERFACE )
@@ -90,7 +88,6 @@ add_executable(cxx_98_tests
9088)
9189configure_tests (cxx_98_tests )
9290target_compile_features (cxx_98_tests PRIVATE cxx_std_98 )
93- ParseAndAddCatchTests (cxx_98_tests )
9491
9592# Tests that require C++11 support
9693add_executable (cxx_11_tests
@@ -99,4 +96,8 @@ add_executable(cxx_11_tests
9996)
10097configure_tests (cxx_11_tests )
10198target_compile_features (cxx_11_tests PRIVATE cxx_std_11 )
99+
100+ include (CTest )
101+ include (ParseAndAddCatchTests )
102+ ParseAndAddCatchTests (cxx_98_tests )
102103ParseAndAddCatchTests (cxx_11_tests )
You can’t perform that action at this time.
0 commit comments