Doc: Fix cmake example snippets
The argument to file(GENERATE...) is called CONTENT, not CONTENTS. Pick-to: 6.3 Change-Id: I22fb9eb966223e034b2606cf24315d3cf6a03df1 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>bb10
parent
f310f426d0
commit
3cd8099cfc
|
|
@ -85,7 +85,7 @@ customized deployment logic may find it useful.
|
|||
# The following script must only be executed at install time
|
||||
set(deploy_script "${CMAKE_CURRENT_BINARY_DIR}/deploy_custom.cmake")
|
||||
|
||||
file(GENERATE OUTPUT ${deploy_script} CONTENTS "
|
||||
file(GENERATE OUTPUT ${deploy_script} CONTENT "
|
||||
include(\"${QT_DEPLOY_SUPPORT}\")
|
||||
qt_deploy_qt_conf(\"\${QT_DEPLOY_BIN_DIR}/qt.conf\")
|
||||
")
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ qt_add_executable(MyApp main.cpp)
|
|||
# The following script must only be executed at install time
|
||||
set(deploy_script "${CMAKE_CURRENT_BINARY_DIR}/deploy_MyApp.cmake")
|
||||
|
||||
file(GENERATE OUTPUT ${deploy_script} CONTENTS "
|
||||
file(GENERATE OUTPUT ${deploy_script} CONTENT "
|
||||
include(\"${QT_DEPLOY_SUPPORT}\")
|
||||
qt_deploy_runtime_dependencies(
|
||||
EXECUTABLE \"\${QT_DEPLOY_BIN_DIR}/$<TARGET_FILE_NAME:MyApp>\"
|
||||
|
|
|
|||
Loading…
Reference in New Issue