From 771d6f7358b3b693ccf7de3118229ee40562a187 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 6 Jan 2016 23:22:01 +0100 Subject: [PATCH] Fixed: Compilation with dynamic version of Qt 5 --- code/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index 1e82448fd..25e64db27 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -371,6 +371,10 @@ 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")