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 8aae821b5a

Pick-to: 6.5
Change-Id: I9c374440c89c617e31f369fde8f041e5c1d17a03
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
bb10
Amir Masoud Abdol 2022-12-13 09:59:31 +01:00 committed by Amir Masoud Abdol
parent 419c99f835
commit 5d47680003
1 changed files with 1 additions and 1 deletions

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()