From 6ba4b84a456815c6d2a5ec699cfdaa53dcc5628f Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Tue, 2 Jul 2019 23:31:13 +0200 Subject: [PATCH] Windows compilation fix --- companion/src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")