CMake: Fix copying of gradle resources in non-prefix builds
Amends b1f8ca8032bd0500f356c55c335937f7fb89d3f5. Task-number: QTBUG-85399 Change-Id: Ibf0d721a7735dabd48e069a6098d1d9338cde660 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
6f0df02d00
commit
2e6ca4bbc3
15
src/3rdparty/gradle/CMakeLists.txt
vendored
15
src/3rdparty/gradle/CMakeLists.txt
vendored
@ -1,21 +1,20 @@
|
|||||||
# special case begin
|
# special case begin
|
||||||
# special case skip regeneration
|
# special case skip regeneration
|
||||||
|
|
||||||
install(
|
qt_path_join(destination ${QT_INSTALL_DIR} "src/3rdparty/gradle")
|
||||||
|
qt_copy_or_install(
|
||||||
FILES
|
FILES
|
||||||
gradlew
|
gradlew
|
||||||
gradlew.bat
|
gradlew.bat
|
||||||
DESTINATION
|
DESTINATION
|
||||||
src/3rdparty/gradle
|
"${destination}"
|
||||||
COMPONENT
|
)
|
||||||
Devel)
|
|
||||||
|
|
||||||
install(
|
qt_copy_or_install(
|
||||||
DIRECTORY
|
DIRECTORY
|
||||||
gradle
|
gradle
|
||||||
DESTINATION
|
DESTINATION
|
||||||
src/3rdparty/gradle
|
"${destination}"
|
||||||
COMPONENT
|
)
|
||||||
Devel)
|
|
||||||
|
|
||||||
# special case end
|
# special case end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user