Add Catch2::Catch2 alias for Catch2 CMake target

This commit is contained in:
Martin Hořeňovský 2020-05-11 20:05:10 +02:00
parent 601ca1c670
commit f56832d3ea
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
1 changed files with 1 additions and 0 deletions

View File

@ -218,6 +218,7 @@ add_library(Catch2 STATIC
${BENCHMARK_HEADERS}
${BENCHMARK_SOURCES}
)
add_library(Catch2::Catch2 ALIAS Catch2)
if (ANDROID)
target_link_libraries(Catch2 INTERFACE log)