Skip to content

Commit

Permalink
Use the Windows path separator in a Batch file
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
amirmasoudabdol committed Jan 9, 2023
1 parent e0bb9e8 commit 07a978c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/qt-cmake.bat.in
Original file line number Diff line number Diff line change
Expand Up @@ -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@ %*

0 comments on commit 07a978c

Please sign in to comment.