mirror of
https://github.com/obhq/obliteration.git
synced 2024-11-23 11:19:56 +00:00
13 lines
596 B
CMake
13 lines
596 B
CMake
# On Windows qt_generate_deploy_app_script() is broken.
|
|
find_program(WINDEPLOYQT windeployqt HINTS ${Qt6_DIR}/bin)
|
|
|
|
execute_process(COMMAND ${WINDEPLOYQT}
|
|
--release # Use release built binaries.
|
|
--no-quick-import # We don't use Qt Quick.
|
|
--no-translations # Our application is English only so skip Qt translations.
|
|
--no-system-d3d-compiler # --no-quick-import does not implicit enable this.
|
|
--no-opengl-sw # Same here.
|
|
--no-compiler-runtime # We required user to install VC redistribution by themself.
|
|
${CMAKE_INSTALL_PREFIX}/Obliteration.exe
|
|
COMMAND_ECHO STDOUT)
|