Skip to content

Commit 2aa05d5

Browse files
committed
add discovery_mode
1 parent fb9c15a commit 2aa05d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
include(Catch)
2+
set(CMAKE_CATCH_DISCOVER_TESTS_DISCOVERY_MODE PRE_TEST)
23

34
add_executable(CoreTests ${PROJECT_SOURCE_DIR}/library/test/Tests.cpp)
45
target_link_libraries(CoreTests PRIVATE Core Catch2::Catch2WithMain)

0 commit comments

Comments
 (0)