summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorGravatar Rolf Eike Beer <eike@sf-mail.de>2019-03-07 22:27:22 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-03-09 09:51:55 -0800
commit62c6a19744da9ae02fe82676638f8c622f8c2e9b (patch)
treedcccc1bbaa5e33bc9f2790c3221140264c949be0 /cmake
parent17211acc53f511282e7fb5518080ae56ef799f15 (diff)
downloadsubsurface-62c6a19744da9ae02fe82676638f8c622f8c2e9b.tar.gz
CMake: get rid of QT_EXTRA_LIBRARIES
This can be easily derived from QT_EXTRA_COMPONENTS. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/HandleFindGrantlee.cmake1
-rw-r--r--cmake/Modules/HandleUserManual.cmake2
2 files changed, 0 insertions, 3 deletions
diff --git a/cmake/Modules/HandleFindGrantlee.cmake b/cmake/Modules/HandleFindGrantlee.cmake
index ddc253840..ab0faf491 100644
--- a/cmake/Modules/HandleFindGrantlee.cmake
+++ b/cmake/Modules/HandleFindGrantlee.cmake
@@ -11,5 +11,4 @@ else()
set(GRANTLEE_LIBRARIES Grantlee5::Templates)
endif()
LIST(APPEND QT_EXTRA_COMPONENTS PrintSupport)
- LIST(APPEND QT_EXTRA_LIBRARIES Qt5::PrintSupport)
endif()
diff --git a/cmake/Modules/HandleUserManual.cmake b/cmake/Modules/HandleUserManual.cmake
index a9354be2b..ba8b66331 100644
--- a/cmake/Modules/HandleUserManual.cmake
+++ b/cmake/Modules/HandleUserManual.cmake
@@ -5,10 +5,8 @@ else()
if(USE_WEBENGINE)
message(STATUS "building with QWebEngine")
list(APPEND QT_EXTRA_COMPONENTS WebEngineWidgets)
- list(APPEND QT_EXTRA_LIBRARIES Qt5::WebEngineWidgets)
add_definitions(-DUSE_WEBENGINE)
else()
list(APPEND QT_EXTRA_COMPONENTS WebKitWidgets)
- list(APPEND QT_EXTRA_LIBRARIES Qt5::WebKitWidgets)
endif()
endif()