Ver Fonte

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

zinface há 2 anos atrás
pai
commit
bb2002fbbf
1 ficheiros alterados com 1 adições e 1 exclusões
  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
                         #