diff options
| author | AnyOldName3 <krizdjali+github@gmail.com> | 2018-03-10 15:35:22 +0000 |
|---|---|---|
| committer | AnyOldName3 <krizdjali+github@gmail.com> | 2018-03-10 15:35:22 +0000 |
| commit | b7b12bb789d1a60ae0a7fc7fe923949c577cd8aa (patch) | |
| tree | 261bf9d20321a69f6703a15a62fb0b1913e7a293 /src | |
| parent | 00d8c517ec6fa15b042b84c69824175d80605334 (diff) | |
Separate windeployqt calls into their own EXECUTE_PROCESS calls so that they run sequentially
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 13 |
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 ) |
