Skip to content
Permalink
Browse files

Add Android's log library to Catch2's CMake interface

  • Loading branch information...
horenmar committed Aug 10, 2019
1 parent 46a7007 commit ce42deb72fab2be85a862f559984580c24cb76c4
Showing with 4 additions and 0 deletions.
  1. +4 −0 CMakeLists.txt
@@ -92,6 +92,10 @@ target_include_directories(Catch2
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)

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)

0 comments on commit ce42deb

Please sign in to comment.
You can’t perform that action at this time.