You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
494 B

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2809c11..368d428 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -246,6 +246,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL Darwin)
"-Xlinker -alias_list -Xlinker ${PROJECT_SOURCE_DIR}/xcodeconfig/libdispatch.aliases")
endif()
dispatch_set_linker(dispatch)
+if(CMAKE_SYSTEM_NAME STREQUAL Android)
+ set_property(TARGET dispatch APPEND PROPERTY LINK_LIBRARIES "log")
+endif()
install(TARGETS
dispatch