From 47a985b0c70ee4f60ad97c04d5099a0895721249 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 23 Nov 2015 12:14:29 -0200 Subject: correct android usage Signed-off-by: Tomaz Canabrava --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3-70-g09d2