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:
Tomaz Canabrava 2015-11-20 11:49:56 -02:00 committed by Dirk Hohndel
parent 24f0abe347
commit aaafaade5e
3 changed files with 15 additions and 14 deletions

View file

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

View file

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