Skip to content

Commit 5f6c468

Browse files
author
朱子楚\zhuzi
committed
update
1 parent 2311c12 commit 5f6c468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/res/template/src/CMakeLists.txt.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ if (CMAKE_BUILD_TYPE MATCHES "Release")
8787
add_custom_target(Script-DeployRelease
8888
COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_SOURCE_DIR}/dist
8989
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ${CMAKE_SOURCE_DIR}/dist
90-
COMMAND ${QT_DEPLOY_QT} ${CMAKE_SOURCE_DIR}/dist/${PROJECT_NAME} -qmldir=${CMAKE_CURRENT_LIST_DIR}
90+
COMMAND ${QT_DEPLOY_QT} ${CMAKE_SOURCE_DIR}/dist/${PROJECT_NAME}.app -qmldir=${CMAKE_CURRENT_LIST_DIR}
9191
COMMENT "MacOs Deploying Qt Dependencies After Build........."
9292
SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
9393
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}

0 commit comments

Comments
 (0)