mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
correct android usage
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
This commit is contained in:
parent
b6eb865803
commit
47a985b0c7
1 changed files with 1 additions and 5 deletions
|
@ -115,13 +115,9 @@ include_directories(.
|
||||||
subsurface-core/
|
subsurface-core/
|
||||||
)
|
)
|
||||||
|
|
||||||
if(ANDROID)
|
if(SUBSURFACE_TARGET_PLATFORM MATCHES "Android")
|
||||||
set(FBSUPPORT OFF)
|
set(FBSUPPORT OFF)
|
||||||
set(NO_PRINTING ON)
|
set(NO_PRINTING ON)
|
||||||
endif()
|
|
||||||
|
|
||||||
# configure Qt.
|
|
||||||
if(ANDROID)
|
|
||||||
list(APPEND QT_EXTRA_COMPONENTS AndroidExtras Quick)
|
list(APPEND QT_EXTRA_COMPONENTS AndroidExtras Quick)
|
||||||
list(APPEND QT_EXTRA_LIBRARIES Qt5::AndroidExtras Qt5::Quick)
|
list(APPEND QT_EXTRA_LIBRARIES Qt5::AndroidExtras Qt5::Quick)
|
||||||
add_definitions(-DSUBSURFACE_MOBILE)
|
add_definitions(-DSUBSURFACE_MOBILE)
|
||||||
|
|
Loading…
Reference in a new issue