summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 82c6388..b68860a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -28,11 +28,13 @@ set_target_properties(erebos-bin
PROPERTIES OUTPUT_NAME erebos
)
-target_link_libraries(erebos-bin
- erebos
- stdc++fs
- Threads::Threads
- ${ZLIB_LIBRARIES}
- ${OPENSSL_LIBRARIES}
- ${B2_LIBRARY}
- )
+if (NOT CMAKE_SYSTEM_NAME STREQUAL "Android")
+ target_link_libraries(erebos-bin
+ erebos
+ stdc++fs
+ Threads::Threads
+ ${ZLIB_LIBRARIES}
+ ${OPENSSL_LIBRARIES}
+ ${B2_LIBRARY}
+ )
+endif()