Cmake: fix QtQuick component designator

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-12-16 13:16:52 -08:00
parent 607a601559
commit ec48e9ce5a

View file

@ -123,8 +123,8 @@ if(${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "DesktopExecutable")
set(SUBSURFACE_TARGET subsurface)
elseif(${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "MobileExecutable")
set(SUBSURFACE_TARGET subsurface-mobile)
list(APPEND QT_EXTRA_COMPONENTS QtQuick)
list(APPEND QT_EXTRA_LIBRARIES Qt5::QtQuick)
list(APPEND QT_EXTRA_COMPONENTS Quick)
list(APPEND QT_EXTRA_LIBRARIES Qt5::Quick)
add_definitions(-DSUBSURFACE_MOBILE)
endif()