CMake: Don't set the executable bit for gradlew.bat

This Windows-only file should not be executable on Unix derivatives.
And on Windows it doesn't matter whether we install PROGRAMS or FILES.

This amends commit e0c0feb1d8.

Task-number: QTBUG-106610
Change-Id: I70bfc9576b1feb06c5d69c5f4921a8f83723c753
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Joerg Bornemann 2022-09-15 08:58:11 +02:00
parent 514027f43f
commit f14b8c8294

View File

@ -2,13 +2,13 @@ qt_path_join(destination ${QT_INSTALL_DIR} "src/3rdparty/gradle")
qt_copy_or_install(
PROGRAMS
gradlew
gradlew.bat
DESTINATION
"${destination}"
)
qt_copy_or_install(
FILES
gradlew.bat
gradle.properties
DESTINATION
"${destination}"