mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-03-06 21:00:31 +01:00
Explicitly include QModernWindowsStylePlugin in static builds
I hope this'll make it look right.
This commit is contained in:
parent
d62c61ba08
commit
01c2d65f07
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue