CMake: Fix warning when copying inplace config
Quote all parameters to ensure paths are handled properly.
This commit is contained in:
parent
24e20d80e3
commit
a2ddfcf80b
@ -75,8 +75,8 @@ function(wx_write_config_inplace)
|
||||
endif()
|
||||
execute_process(
|
||||
COMMAND
|
||||
${CMAKE_COMMAND} -E ${COPY_CMD}
|
||||
"lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}"
|
||||
"${CMAKE_COMMAND}" -E ${COPY_CMD}
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/wx-config"
|
||||
)
|
||||
endfunction()
|
||||
|
@ -71,8 +71,8 @@ elseif(WXMSW)
|
||||
EXPECTED_HASH SHA256=${WEBVIEW2_SHA256})
|
||||
file(MAKE_DIRECTORY ${WEBVIEW2_PACKAGE_DIR})
|
||||
execute_process(COMMAND
|
||||
${CMAKE_COMMAND} -E tar x ${CMAKE_BINARY_DIR}/webview2.nuget
|
||||
WORKING_DIRECTORY ${WEBVIEW2_PACKAGE_DIR}
|
||||
"${CMAKE_COMMAND}" -E tar x "${CMAKE_BINARY_DIR}/webview2.nuget"
|
||||
WORKING_DIRECTORY "${WEBVIEW2_PACKAGE_DIR}"
|
||||
)
|
||||
endif()
|
||||
set(WEBVIEW2_PACKAGE_DIR ${WEBVIEW2_PACKAGE_DIR} CACHE INTERNAL "" FORCE)
|
||||
|
Loading…
Reference in New Issue
Block a user