mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Use a single variable to handle the extra Qt stuff
It's easier to debug what's wrong this way Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
This commit is contained in:
parent
24f0abe347
commit
aaafaade5e
3 changed files with 15 additions and 14 deletions
|
@ -10,6 +10,6 @@ else()
|
|||
find_package(Grantlee5 REQUIRED)
|
||||
set(GRANTLEE_LIBRARIES Grantlee5::Templates)
|
||||
endif()
|
||||
set(PRINTING_PKG PrintSupport)
|
||||
set(PRINTING_LIB Qt5::PrintSupport)
|
||||
LIST(APPEND QT_EXTRA_COMPONENTS PrintSupport)
|
||||
LIST(APPEND QT_EXTRA_LIBRARIES Qt5::PrintSupport)
|
||||
endif()
|
||||
|
|
|
@ -2,6 +2,6 @@ if(NO_USERMANUAL)
|
|||
message(STATUS "building without usermanual")
|
||||
add_definitions(-DNO_USERMANUAL)
|
||||
else()
|
||||
set(WEBKIT_PKG WebKitWidgets)
|
||||
set(WEBKIT_LIB Qt5::WebKitWidgets)
|
||||
list(APPEND QT_EXTRA_COMPONENTS WebKitWidgets)
|
||||
list(APPEND QT_EXTRA_LIBRARIES Qt5::WebKitWidgets)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue