summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 961efe8ba..3e1b03fdd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -115,13 +115,9 @@ include_directories(.
subsurface-core/
)
-if(ANDROID)
+if(SUBSURFACE_TARGET_PLATFORM MATCHES "Android")
set(FBSUPPORT OFF)
set(NO_PRINTING ON)
-endif()
-
-# configure Qt.
-if(ANDROID)
list(APPEND QT_EXTRA_COMPONENTS AndroidExtras Quick)
list(APPEND QT_EXTRA_LIBRARIES Qt5::AndroidExtras Qt5::Quick)
add_definitions(-DSUBSURFACE_MOBILE)