From d35402594398742fed3ed863dd27b84c2ab24e59 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Thu, 16 May 2019 16:51:17 +0200 Subject: [PATCH] Windows compilation fight --- companion/src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/companion/src/CMakeLists.txt b/companion/src/CMakeLists.txt index 3718a53cc..978113a40 100644 --- a/companion/src/CMakeLists.txt +++ b/companion/src/CMakeLists.txt @@ -398,6 +398,9 @@ elseif(WIN32) set(wdqtopts ${wdqtopts} --no-compiler-runtime) # --compiler-runtime includes vcredist_x86, but we just copy the required DLLs manually endif() set(wdqtopts ${wdqtopts} -dir "${INSTALL_DESTINATION}" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${COMPANION_NAME}.exe" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${SIMULATOR_NAME}.exe") + + message(STATUS ${wdqtopts}) + # Add installer command to execute windeployqt install(CODE "execute_process(COMMAND \"${QT_BIN_DIR}/windeployqt.exe\" ${wdqtopts})")