diff --git a/companion/src/CMakeLists.txt b/companion/src/CMakeLists.txt index f896afdd7..e7965f808 100644 --- a/companion/src/CMakeLists.txt +++ b/companion/src/CMakeLists.txt @@ -405,7 +405,7 @@ elseif(WIN32) # Add installer command to execute windeployqt message(STATUS "windeployqt command: ${QT_BIN_DIR}/windeployqt.exe ${wdqtopts}") - install(CODE "execute_process(\"${QT_BIN_DIR}/windeployqt.exe ${wdqtopts}\")") + install(CODE "execute_process(COMMAND \"${QT_BIN_DIR}/windeployqt.exe\" ${wdqtopts})") # SDL dll if(SDL_FOUND AND EXISTS "${SDL_LIBRARY_PATH}/SDL.dll")