correct android usage

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
This commit is contained in:
Tomaz Canabrava 2015-11-23 12:14:29 -02:00 committed by Dirk Hohndel
parent b6eb865803
commit 47a985b0c7

View file

@ -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)