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")