mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-04 17:24:47 +00:00
Fixed: Forgot to link to PlatformSupport under other platforms
This commit is contained in:
parent
df1abc659d
commit
a70651d313
1 changed files with 3 additions and 0 deletions
|
@ -232,6 +232,7 @@ IF(WITH_QT5)
|
||||||
${WINSDK_LIBRARY_DIR}/OpenGL32.lib
|
${WINSDK_LIBRARY_DIR}/OpenGL32.lib
|
||||||
${WINSDK_LIBRARY_DIR}/WinMM.Lib)
|
${WINSDK_LIBRARY_DIR}/WinMM.Lib)
|
||||||
ADD_QT_PLUGIN(platforms qwindows)
|
ADD_QT_PLUGIN(platforms qwindows)
|
||||||
|
ADD_QT_LIBRARY(PlatformSupport)
|
||||||
ELSEIF(APPLE)
|
ELSEIF(APPLE)
|
||||||
# Cups needs .dylib
|
# Cups needs .dylib
|
||||||
SET(OLD_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
|
SET(OLD_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
|
||||||
|
@ -253,7 +254,9 @@ IF(WITH_QT5)
|
||||||
|
|
||||||
ADD_QT_PLUGIN(printsupport cocoaprintersupport)
|
ADD_QT_PLUGIN(printsupport cocoaprintersupport)
|
||||||
ADD_QT_PLUGIN(platforms qcocoa)
|
ADD_QT_PLUGIN(platforms qcocoa)
|
||||||
|
ADD_QT_LIBRARY(PlatformSupport)
|
||||||
ELSE()
|
ELSE()
|
||||||
|
# order is very important there
|
||||||
ADD_QT_PLUGIN(platforms qxcb)
|
ADD_QT_PLUGIN(platforms qxcb)
|
||||||
ADD_QT_PLUGIN(xcbglintegrations qxcb-glx-integration)
|
ADD_QT_PLUGIN(xcbglintegrations qxcb-glx-integration)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue