From a176240189628d3cf6a3c4cb3dd03506f68dfcb7 Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 4 Feb 2016 15:23:02 +0100 Subject: [PATCH] Changed: Only link to Qt5::WinExtras if required --- code/CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index 2817c5728..9c48358fb 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -265,10 +265,6 @@ IF(WITH_QT5) # Gui SET(QT_LIBRARIES ${QT_LIBRARIES} Qt5::Gui Qt5::OpenGL) - IF(WIN32) - SET(QT_LIBRARIES ${QT_LIBRARIES} Qt5::WinExtras) - ENDIF() - ADD_QT_LIBRARY(PrintSupport) IF(WIN32) @@ -386,10 +382,6 @@ IF(WITH_QT5) ENDIF() ELSE() SET(QT_LIBRARIES Qt5::Widgets Qt5::Network Qt5::Xml Qt5::Gui Qt5::OpenGL Qt5::Core) - - IF(WIN32) - SET(QT_LIBRARIES ${QT_LIBRARIES} Qt5::WinExtras) - ENDIF() ENDIF() ELSE() MESSAGE(WARNING "Unable to find Qt 5")