summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-03-22 22:33:46 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2023-03-22 22:33:46 +0100
commite9ac27614961e541a5f990389cd6b7f849f68425 (patch)
tree1896671f9660ebbb7af65d57b5fca05f2c2b04d6 /src
parenta13474cd11283ae648e0dcaa156ce9058df15aa1 (diff)
Disable all parts of test tool build on Android
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index cb0db6d..6676a9c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -22,15 +22,15 @@ add_library(erebos
uuid.cpp
)
-add_executable(erebos-bin
- main.cpp
-)
+if (NOT CMAKE_SYSTEM_NAME STREQUAL "Android")
+ add_executable(erebos-bin
+ main.cpp
+ )
-set_target_properties(erebos-bin
- PROPERTIES OUTPUT_NAME erebos
-)
+ set_target_properties(erebos-bin
+ PROPERTIES OUTPUT_NAME erebos
+ )
-if (NOT CMAKE_SYSTEM_NAME STREQUAL "Android")
target_link_libraries(erebos-bin
erebos
stdc++fs