Skip to content

Commit

Permalink
Use CMAKE_CATCH_DISCOVER_TESTS_DISCOVERY_MODE as WIndows tests are no…
Browse files Browse the repository at this point in the history
…t working.
  • Loading branch information
przemek83 committed Sep 6, 2024
1 parent a7ecabf commit 79f1e93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ target_link_libraries(${PROJECT_TEST} PRIVATE Catch2::Catch2WithMain ${PROJECT_N

include(CTest)
include(Catch)
set(CMAKE_CATCH_DISCOVER_TESTS_DISCOVERY_MODE PRE_TEST)
catch_discover_tests(${PROJECT_TEST})

0 comments on commit 79f1e93

Please sign in to comment.