summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-11-23 12:14:29 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-16 08:00:57 -0800
commit47a985b0c70ee4f60ad97c04d5099a0895721249 (patch)
tree33523ec10a06918075558ca9a9fb56532eabddcf /CMakeLists.txt
parentb6eb8658039e74eb748914c77ce00ff87f2c982a (diff)
downloadsubsurface-47a985b0c70ee4f60ad97c04d5099a0895721249.tar.gz
correct android usage
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
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)