diff options
-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 |