Remove the incorrectly added extra .bat

The .bat extension was already handled for, __qt_cmake_private_path,
and adding the extra one was causing an issue where
qt-cmake-standalone-test was calling qt-cmake-private.bat.bat!

Amends 8aae821b5aa2bd0ac919683dcb3cb62913ca9063

Change-Id: I9c374440c89c617e31f369fde8f041e5c1d17a03
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 5d4768000377d6f4240198a2dc1cd00d7ef89de2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Amir Masoud Abdol 2022-12-13 09:59:31 +01:00 committed by Qt Cherry-pick Bot
parent 7732e042f3
commit d14be072cb

View File

@ -118,7 +118,7 @@ function(qt_internal_create_wrapper_scripts)
endif()
if(generate_non_unix)
set(__qt_cmake_private_path
"${QT_STAGING_PREFIX}/${INSTALL_BINDIR}/qt-cmake-private.bat")
"${QT_STAGING_PREFIX}/${INSTALL_BINDIR}/qt-cmake-private")
endif()
endif()