catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Use proper linkage between Catch2Main and Catch2
- Commit
4005d87460cbcda69532fc04cbbef4e4bf0f7616- Author
- Martin Hořeňovský ·
- Parents
0dc30e51c083
Changes
src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7f2811dc..7e37c3b9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -266,7 +266,7 @@ add_library(Catch2Main STATIC ${SOURCES_DIR}/catch_main.cpp ) add_library(Catch2::Catch2Main ALIAS Catch2Main) -target_link_libraries(Catch2Main INTERFACE Catch2) +target_link_libraries(Catch2Main PUBLIC Catch2)