From 62c6a19744da9ae02fe82676638f8c622f8c2e9b Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Thu, 7 Mar 2019 22:27:22 +0100 Subject: CMake: get rid of QT_EXTRA_LIBRARIES This can be easily derived from QT_EXTRA_COMPONENTS. Signed-off-by: Rolf Eike Beer --- cmake/Modules/HandleFindGrantlee.cmake | 1 - cmake/Modules/HandleUserManual.cmake | 2 -- 2 files changed, 3 deletions(-) (limited to 'cmake') 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() -- cgit v1.2.3-70-g09d2