Windows compilation fight

This commit is contained in:
Bertrand Songis
2019-05-16 16:51:17 +02:00
parent b194599b4a
commit d354025943
+3
View File
@@ -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})")