diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2022-05-01 16:15:28 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2022-05-01 16:15:28 +0200 |
commit | c7e2d6a06d940a88964cd195a36b480ddf713796 (patch) | |
tree | 875575145f52eda8e00030bd429ab162cc6add51 | |
parent | 5c1fa19ac78283435a00c48713864cde6005b5bb (diff) |
Disable build of test tool on Android
-rw-r--r-- | src/CMakeLists.txt | 18 |
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() |