summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmir Masoud Abdol <amirmasoudabdol@icloud.com>2022-12-08 09:55:35 +0100
committerAmir Masoud Abdol <amirmasoudabdol@icloud.com>2022-12-08 19:00:16 +0100
commit270a2f7ee2b1f02a240dfc7be4fc893d4d432d3e (patch)
tree234defa4848552451dfed4286167f34d13c35b1b
parenta0d3cae7ca5b99da1488a2e74e998fb27f0bd0ac (diff)
Use native path for host_qt_bindir
Task-number: QTBUG-109271 Change-Id: I85fe825ee49f21caea9c973b3a3ee9bf1449fab6 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--cmake/QtQmakeHelpers.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/QtQmakeHelpers.cmake b/cmake/QtQmakeHelpers.cmake
index 03369693db..625a1232be 100644
--- a/cmake/QtQmakeHelpers.cmake
+++ b/cmake/QtQmakeHelpers.cmake
@@ -159,6 +159,7 @@ HostSpec=${QT_QMAKE_HOST_MKSPEC}
endif()
set(host_qt_bindir "${host_prefix}/${QT${PROJECT_VERSION_MAJOR}_HOST_INFO_BINDIR}")
+ file(TO_NATIVE_PATH "${host_qt_bindir}" host_qt_bindir)
if(QT_CREATE_VERSIONED_HARD_LINK)
set(tool_version "${PROJECT_VERSION_MAJOR}")