mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Use proper linkage between Catch2Main and Catch2
This commit is contained in:
parent
0dc30e51c0
commit
4005d87460
@ -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)
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user