all repos — mgba @ 320971af93a673400abd7b85427b8ecb763f5dcf

mGBA Game Boy Advance Emulator

Qt: Fix Windows build
Vicki Pfau vi@endrift.com
Fri, 17 May 2019 19:39:20 -0700
commit

320971af93a673400abd7b85427b8ecb763f5dcf

parent

768aa0ddc2460bae1238af9db5d62c114fb88527

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/CMakeLists.txtsrc/platform/qt/CMakeLists.txt

@@ -288,6 +288,7 @@ find_library(QTPCRE NAMES qtpcre2 qtpcre)

if(WIN32) 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::Gui PROPERTIES INTERFACE_LINK_LIBRARIES ${OPENGL_LIBRARY} ${OPENGLES2_LIBRARY}) elseif(APPLE) find_package(Cups) find_package(Qt5PrintSupport)