summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ed6c836a..c94aa689 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -347,13 +347,16 @@ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dlls.manifest.qt5
SET(windeploy_parameters "--no-translations --plugindir qtplugins --libdir dlls --release-with-debug-info --no-compiler-runtime")
INSTALL(
CODE
- "EXECUTE_PROCESS(
- COMMAND
+ "EXECUTE_PROCESS(COMMAND
${qt5bin}/windeployqt.exe ModOrganizer.exe --webenginewidgets ${windeploy_parameters}
- # run it a second time because on the first run it misses some files
- COMMAND
+ WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/bin
+ )
+ # run it a second time because on the first run it misses some files
+ EXECUTE_PROCESS(COMMAND
${qt5bin}/windeployqt.exe ModOrganizer.exe --webenginewidgets ${windeploy_parameters}
- COMMAND
+ WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/bin
+ )
+ EXECUTE_PROCESS(COMMAND
${qt5bin}/windeployqt.exe uibase.dll ${windeploy_parameters}
WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/bin
)