Use the Windows path separator in a Batch file
Patching inconsistent path separator in Batch file. This at some point may lead to something similar to the mentioned task. Pick-to: 6.4 6.5 Task-number: QTBUG-109857 Change-Id: I36c05dc7a0b7daf3dc5dced61f3c3f7d90eb59e3 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
e0bb9e81ab
commit
07a978c756
@ -6,5 +6,5 @@ set script_dir_path=%~dp0
|
||||
set cmake_path=@CMAKE_COMMAND@
|
||||
if not exist "%cmake_path%" set cmake_path=cmake
|
||||
|
||||
set toolchain_path=%script_dir_path%/@__GlobalConfig_relative_path_from_bin_dir_to_cmake_config_dir@/qt.toolchain.cmake
|
||||
set toolchain_path=%script_dir_path%\@__GlobalConfig_relative_path_from_bin_dir_to_cmake_config_dir@\qt.toolchain.cmake
|
||||
"%cmake_path%" -DCMAKE_TOOLCHAIN_FILE="%toolchain_path%" @__qt_cmake_extra@ %*
|
||||
|
Loading…
x
Reference in New Issue
Block a user