1
0
mirror of https://github.com/catchorg/Catch2.git synced 2025-05-01 13:05:44 +02:00

Use proper linkage between Catch2Main and Catch2

This commit is contained in:
Martin Hořeňovský 2019-12-18 20:14:34 +01:00
parent 0dc30e51c0
commit 4005d87460
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

@ -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)