aboutsummaryrefslogtreecommitdiffstats
path: root/sources/cmake_helpers/helpers.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'sources/cmake_helpers/helpers.cmake')
-rw-r--r--sources/cmake_helpers/helpers.cmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/sources/cmake_helpers/helpers.cmake b/sources/cmake_helpers/helpers.cmake
index 2af3c75ab..b7c498637 100644
--- a/sources/cmake_helpers/helpers.cmake
+++ b/sources/cmake_helpers/helpers.cmake
@@ -58,19 +58,18 @@ endif()
endmacro()
macro(check_os)
-set(ENABLE_X11 "0")
+set(ENABLE_UNIX "1")
set(ENABLE_MAC "0")
set(ENABLE_WIN "0")
-set(ENABLE_SIMULATOR "0")
if(CMAKE_HOST_APPLE)
set(ENABLE_MAC "1")
set(AUTO_OS "mac")
elseif(CMAKE_HOST_WIN32)
set(ENABLE_WIN "1")
+ set(ENABLE_UNIX "0")
set(AUTO_OS "win")
elseif(CMAKE_HOST_UNIX)
- set(ENABLE_X11 "1")
set(AUTO_OS "x11")
else()
message(FATAL_ERROR "OS not supported")