We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b4061c commit b48f473Copy full SHA for b48f473
test/CMakeLists.txt
@@ -8,6 +8,7 @@ FetchContent_Declare(
8
GIT_TAG v3.2.1
9
)
10
FetchContent_MakeAvailable(Catch2)
11
+include(Catch)
12
13
list(APPEND TEST_SOURCES
14
test_dbc.cpp
@@ -20,5 +21,4 @@ target_sources(tests INTERFACE FILE_SET HEADERS
20
21
TYPE HEADERS
22
BASE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}
23
FILES defines.hpp)
-
24
-add_test(NAME tests COMMAND $<TARGET_FILE:tests>)
+catch_discover_tests(tests)
0 commit comments