From d494f00ab6d37ef8030195974beac8ff66edde63 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 --HG-- branch : develop --- 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")