diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c2fda01..0abdbe82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,6 +92,10 @@ target_include_directories(Catch2 $ ) +if (ANDROID) + target_link_libraries(Catch2 INTERFACE log) +endif() + # provide a namespaced alias for clients to 'link' against if catch is included as a sub-project add_library(Catch2::Catch2 ALIAS Catch2)