Skip to content

Commit 2311c12

Browse files
author
朱子楚\zhuzi
committed
update
1 parent 9aed03a commit 2311c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ if (CMAKE_BUILD_TYPE MATCHES "Release")
155155
add_custom_target(Script-DeployRelease
156156
COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_SOURCE_DIR}/dist
157157
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ${CMAKE_SOURCE_DIR}/dist
158-
COMMAND ${QT_DEPLOY_QT} ${CMAKE_SOURCE_DIR}/dist/${PROJECT_NAME} -qmldir=${CMAKE_CURRENT_LIST_DIR}
158+
COMMAND ${QT_DEPLOY_QT} ${CMAKE_SOURCE_DIR}/dist/${PROJECT_NAME}.app -qmldir=${CMAKE_CURRENT_LIST_DIR}
159159
COMMENT "MacOs Deploying Qt Dependencies After Build........."
160160
SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
161161
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}

0 commit comments

Comments
 (0)