Merge commit '2f321fb73c6408b368a20bb08bd08e6265e6ce38' into main
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2614957..3405baf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -178,7 +178,7 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "Haiku.*")
endif()
# Don't mistake osx for unix
-if(UNIX AND NOT APPLE AND NOT RISCOS)
+if(UNIX AND NOT ANDROID AND NOT APPLE AND NOT RISCOS)
set(UNIX_SYS ON)
else()
set(UNIX_SYS OFF)