mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
Explicitly include QModernWindowsStylePlugin in static builds
I hope this'll make it look right.
This commit is contained in:
parent
d62c61ba08
commit
01c2d65f07
@ -154,6 +154,9 @@ endif()
|
||||
|
||||
if (BUILD_STATIC)
|
||||
qt_import_plugins(melonDS INCLUDE Qt::QSvgPlugin)
|
||||
if (WIN32 AND USE_QT6)
|
||||
qt_import_plugins(melonDS INCLUDE Qt::QModernWindowsStylePlugin)
|
||||
endif()
|
||||
target_link_options(melonDS PRIVATE -static)
|
||||
endif()
|
||||
|
||||
@ -244,4 +247,4 @@ if (ENABLE_OGLRENDERER)
|
||||
target_compile_definitions(melonDS PUBLIC OGLRENDERER_ENABLED)
|
||||
target_compile_definitions(melonDS PUBLIC MELONDS_GL_HEADER=${MELONDS_GL_HEADER})
|
||||
target_compile_definitions(core PUBLIC MELONDS_GL_HEADER=${MELONDS_GL_HEADER})
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user