diff options
author | Amir Masoud Abdol <amirmasoudabdol@icloud.com> | 2023-01-09 12:52:18 +0100 |
---|---|---|
committer | Amir Masoud Abdol <amir.abdol@qt.io> | 2023-01-16 08:29:51 +0000 |
commit | e344e887de0a6613cb579e3cb2c62a2898e7313e (patch) | |
tree | 76bbe5d5d2b48ce376043a9ebfc1542512c1a057 /bin | |
parent | 6501b85d3818f0edcba1c0230d3d57bfb79da818 (diff) | |
download | qtbase-e344e887de0a6613cb579e3cb2c62a2898e7313e.tar.gz |
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.
Task-number: QTBUG-109857
Change-Id: I36c05dc7a0b7daf3dc5dced61f3c3f7d90eb59e3
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 07a978c756cba6953bf81497fa3a386793652242)
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'bin')
-rw-r--r-- | bin/qt-cmake.bat.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/qt-cmake.bat.in b/bin/qt-cmake.bat.in index 2645c0320f..96d955d2a9 100644 --- a/bin/qt-cmake.bat.in +++ b/bin/qt-cmake.bat.in @@ -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@ %* |