all repos — mgba @ 6e01765ed2e9f6101aee54d9113cc42b320de305

mGBA Game Boy Advance Emulator

Qt: Add another static dependency on Windows
Vicki Pfau vi@endrift.com
Wed, 26 Aug 2020 03:39:34 -0700
commit

6e01765ed2e9f6101aee54d9113cc42b320de305

parent

3dcf879e941d2885bf428ec1a46722d91846cf1b

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

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

@@ -300,7 +300,7 @@ if(WIN32)

if(CMAKE_CROSSCOMPILING) set(QWINDOWS_DEPS Qt5EventDispatcherSupport Qt5FontDatabaseSupport Qt5ThemeSupport Qt5WindowsUIAutomationSupport) endif() - list(APPEND QT_LIBRARIES Qt5::QWindowsIntegrationPlugin ${QWINDOWS_DEPS} dwmapi uxtheme imm32 -static-libgcc -static-libstdc++) + list(APPEND QT_LIBRARIES Qt5::QWindowsIntegrationPlugin ${QWINDOWS_DEPS} amstrmid dwmapi uxtheme imm32 -static-libgcc -static-libstdc++) 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)