diff --git a/utils/cmake/deploy.cmake b/utils/cmake/deploy.cmake index 7aabdcaa59..f1430f0dee 100644 --- a/utils/cmake/deploy.cmake +++ b/utils/cmake/deploy.cmake @@ -170,7 +170,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows") COMMAND ${CMAKE_COMMAND} -E copy_if_different $ ${deploydir} COMMAND ${WINDEPLOYQT_EXECUTABLE} $,--debug,--release> # on MinGW, release is mistaken as debug. - $ + ${deploydir}/$ DEPENDS ${deploy_TARGET} ) else()