Skip to content

Commit

Permalink
Use proper linkage between Catch2Main and Catch2
Browse files Browse the repository at this point in the history
  • Loading branch information
horenmar committed Dec 18, 2019
1 parent 0dc30e5 commit 4005d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)



Expand Down

0 comments on commit 4005d87

Please sign in to comment.