Avoid ${...} to be replaced by configure_file
When running configure_file without @ONLY, the exit code details get stripped out by CMake. This leads to an empty application exit status shown on the boiler plate HTML. Fixes: QTBUG-117997 Pick-to: 6.6 Change-Id: I4ab25960412da17c9509a66c1019c3b2b71ed108 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>bb10
parent
58fd829cdf
commit
ac039776a6
|
|
@ -63,7 +63,7 @@ function(_qt_internal_wasm_add_target_helpers target)
|
|||
endif()
|
||||
|
||||
configure_file("${WASM_BUILD_DIR}/plugins/platforms/wasm_shell.html"
|
||||
"${_target_directory}/${_target_output_name}.html")
|
||||
"${_target_directory}/${_target_output_name}.html" @ONLY)
|
||||
configure_file("${WASM_BUILD_DIR}/plugins/platforms/qtloader.js"
|
||||
${_target_directory}/qtloader.js COPYONLY)
|
||||
configure_file("${WASM_BUILD_DIR}/plugins/platforms/qtlogo.svg"
|
||||
|
|
|
|||
Loading…
Reference in New Issue