diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-11-23 12:14:29 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-16 08:00:57 -0800 |
commit | 47a985b0c70ee4f60ad97c04d5099a0895721249 (patch) | |
tree | 33523ec10a06918075558ca9a9fb56532eabddcf /CMakeLists.txt | |
parent | b6eb8658039e74eb748914c77ce00ff87f2c982a (diff) | |
download | subsurface-47a985b0c70ee4f60ad97c04d5099a0895721249.tar.gz |
correct android usage
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
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) |