mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-12 12:14:48 +00:00
Changed: Link to Qt5WinExtras under Windows
This commit is contained in:
parent
f61e7c10ac
commit
f954514c5e
1 changed files with 8 additions and 0 deletions
|
@ -238,6 +238,10 @@ IF(WITH_QT5)
|
||||||
FIND_PACKAGE(Qt5LinguistTools)
|
FIND_PACKAGE(Qt5LinguistTools)
|
||||||
FIND_PACKAGE(Qt5Network)
|
FIND_PACKAGE(Qt5Network)
|
||||||
|
|
||||||
|
IF(WIN32)
|
||||||
|
FIND_PACKAGE(Qt5WinExtras)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
IF(QT_STATIC)
|
IF(QT_STATIC)
|
||||||
ADD_DEFINITIONS(-DQT_STATICPLUGIN)
|
ADD_DEFINITIONS(-DQT_STATICPLUGIN)
|
||||||
|
|
||||||
|
@ -246,6 +250,10 @@ IF(WITH_QT5)
|
||||||
# Gui
|
# Gui
|
||||||
SET(QT_LIBRARIES ${QT_LIBRARIES} Qt5::Gui Qt5::OpenGL)
|
SET(QT_LIBRARIES ${QT_LIBRARIES} Qt5::Gui Qt5::OpenGL)
|
||||||
|
|
||||||
|
IF(WIN32)
|
||||||
|
SET(QT_LIBRARIES ${QT_LIBRARIES} Qt5::WinExtras)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
ADD_QT_LIBRARY(PrintSupport)
|
ADD_QT_LIBRARY(PrintSupport)
|
||||||
|
|
||||||
IF(WIN32)
|
IF(WIN32)
|
||||||
|
|
Loading…
Reference in a new issue