Browse Source

windeployqt: 将安装时自动化部署部分的 target 改为 command

zinface 2 years ago
parent
commit
bb2002fbbf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmake/platforms/windows-deployqt.cmake

+ 1 - 1
cmake/platforms/windows-deployqt.cmake

@@ -124,7 +124,7 @@ if(WINDOWS_DEPLOY_QT)
                         --dir ${WINDOWS_APPLICATION_DEPLOY_PATH}
             )
 
-            add_custom_target(TARGET windows-deployqt
+            add_custom_command(TARGET windows-deployqt
                 POST_BUILD
                     COMMAND ${WINDOWS_QT_DIR}/../../../bin/windeployqt
                         #