mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix Windows build
This commit is contained in:
parent
768aa0ddc2
commit
320971af93
|
@ -288,6 +288,7 @@ if(QT_STATIC)
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
list(APPEND QT_LIBRARIES qwindows dwmapi imm32 uxtheme Qt5EventDispatcherSupport Qt5FontDatabaseSupport Qt5ThemeSupport Qt5WindowsUIAutomationSupport)
|
list(APPEND QT_LIBRARIES qwindows dwmapi imm32 uxtheme Qt5EventDispatcherSupport Qt5FontDatabaseSupport Qt5ThemeSupport Qt5WindowsUIAutomationSupport)
|
||||||
set_target_properties(Qt5::Core PROPERTIES INTERFACE_LINK_LIBRARIES "${QTPCRE};version;winmm;ssl;crypto;ws2_32;iphlpapi;crypt32;userenv;netapi32;wtsapi32")
|
set_target_properties(Qt5::Core PROPERTIES INTERFACE_LINK_LIBRARIES "${QTPCRE};version;winmm;ssl;crypto;ws2_32;iphlpapi;crypt32;userenv;netapi32;wtsapi32")
|
||||||
|
set_target_properties(Qt5::Gui PROPERTIES INTERFACE_LINK_LIBRARIES ${OPENGL_LIBRARY} ${OPENGLES2_LIBRARY})
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
find_package(Cups)
|
find_package(Cups)
|
||||||
find_package(Qt5PrintSupport)
|
find_package(Qt5PrintSupport)
|
||||||
|
|
Loading…
Reference in New Issue