diff options
| author | Martin Hořeňovský | 2019-12-18 20:14:34 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2019-12-18 20:14:34 +0100 |
| commit | 4005d87460cbcda69532fc04cbbef4e4bf0f7616 (patch) | |
| tree | 3d64a955e7ac8a5dee7126c641b8c4af476a95d5 | |
| parent | 0dc30e51c0833d4736e4bb7369a9c1fe8af6e373 (diff) | |
| download | catch3-3.0.0-preview1.tar.gz | |
Use proper linkage between Catch2Main and Catch2v3.0.0-preview1
| -rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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) |