diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2023-03-22 22:33:46 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2023-03-22 22:33:46 +0100 |
commit | e9ac27614961e541a5f990389cd6b7f849f68425 (patch) | |
tree | 1896671f9660ebbb7af65d57b5fca05f2c2b04d6 | |
parent | a13474cd11283ae648e0dcaa156ce9058df15aa1 (diff) |
Disable all parts of test tool build on Android
-rw-r--r-- | src/CMakeLists.txt | 14 |
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 |