mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Group QT-quick options into one block
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
82b51e8021
commit
eda0190e2a
1 changed files with 4 additions and 6 deletions
|
@ -150,13 +150,11 @@ endif()
|
||||||
|
|
||||||
# configure Qt.
|
# configure Qt.
|
||||||
if(SUBSURFACE_MOBILE)
|
if(SUBSURFACE_MOBILE)
|
||||||
set(QT_QUICK Quick)
|
set(QT_QUICK_PKG Quick)
|
||||||
endif()
|
set(QT_QUICK_LIB Qt5::Quick)
|
||||||
find_package(Qt5 REQUIRED COMPONENTS Core Concurrent Widgets Network ${WEBKIT_PKG} PrintSupport Svg Test LinguistTools ${QT_QUICK})
|
|
||||||
set(QT_LIBRARIES Qt5::Core Qt5::Concurrent Qt5::Widgets Qt5::Network ${WEBKIT_LIB} Qt5::PrintSupport Qt5::Svg)
|
|
||||||
if(SUBSURFACE_MOBILE)
|
|
||||||
set(QT_LIBRARIES ${QT_LIBRARIES} Qt5::Quick)
|
|
||||||
endif()
|
endif()
|
||||||
|
find_package(Qt5 REQUIRED COMPONENTS Core Concurrent Widgets Network ${WEBKIT_PKG} PrintSupport Svg Test LinguistTools ${QT_QUICK_PKG})
|
||||||
|
set(QT_LIBRARIES Qt5::Core Qt5::Concurrent Qt5::Widgets Qt5::Network ${WEBKIT_LIB} Qt5::PrintSupport Qt5::Svg ${QT_QUICK_LIB})
|
||||||
set(QT_TEST_LIBRARIES ${QT_LIBRARIES} Qt5::Test)
|
set(QT_TEST_LIBRARIES ${QT_LIBRARIES} Qt5::Test)
|
||||||
|
|
||||||
# Generate the ssrf-config.h every 'make'
|
# Generate the ssrf-config.h every 'make'
|
||||||
|
|
Loading…
Add table
Reference in a new issue