From e9ac27614961e541a5f990389cd6b7f849f68425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Wed, 22 Mar 2023 22:33:46 +0100 Subject: Disable all parts of test tool build on Android --- src/CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') 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 -- cgit v1.2.3