2019-09-06 16:58:54 +02:00
|
|
|
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()
|
2019-09-21 19:51:56 +02:00
|
|
|
dispatch_set_linker(dispatch)
|
2019-09-06 16:58:54 +02:00
|
|
|
+if(CMAKE_SYSTEM_NAME STREQUAL Android)
|
|
|
|
+ set_property(TARGET dispatch APPEND PROPERTY LINK_LIBRARIES "log")
|
|
|
|
+endif()
|
|
|
|
|
|
|
|
install(TARGETS
|
|
|
|
dispatch
|