CMake: Fix copying of gradle resources in non-prefix builds

Amends b1f8ca8032.

Task-number: QTBUG-85399
Change-Id: Ibf0d721a7735dabd48e069a6098d1d9338cde660
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Alexandru Croitor 2020-08-14 16:30:06 +02:00
parent 6f0df02d00
commit 2e6ca4bbc3

View File

@ -1,21 +1,20 @@
# special case begin
# special case skip regeneration
install(
qt_path_join(destination ${QT_INSTALL_DIR} "src/3rdparty/gradle")
qt_copy_or_install(
FILES
gradlew
gradlew.bat
DESTINATION
src/3rdparty/gradle
COMPONENT
Devel)
"${destination}"
)
install(
qt_copy_or_install(
DIRECTORY
gradle
DESTINATION
src/3rdparty/gradle
COMPONENT
Devel)
"${destination}"
)
# special case end