mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[qttools] copy traget tools only if they exists. (#30442)
They do not exist if you crosscompile qt
This commit is contained in:
parent
f35ba0c785
commit
e1cdda71f6
@ -98,9 +98,12 @@ if(VCPKG_TARGET_IS_OSX)
|
||||
list(APPEND OSX_APP_FOLDERS qdbusviewer.app)
|
||||
endif()
|
||||
foreach(_appfolder IN LISTS OSX_APP_FOLDERS)
|
||||
message(STATUS "Moving: ${_appfolder}")
|
||||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/${_appfolder}")
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/bin/${_appfolder}/" "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/${_appfolder}/")
|
||||
# Folders are only existing in case of native builds
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/bin/${_appfolder}")
|
||||
message(STATUS "Moving: ${_appfolder}")
|
||||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/${_appfolder}")
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/bin/${_appfolder}/" "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/${_appfolder}/")
|
||||
endif()
|
||||
endforeach()
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "qttools",
|
||||
"version": "6.5.0",
|
||||
"port-version": 1,
|
||||
"description": "Qt Tools",
|
||||
"homepage": "https://www.qt.io/",
|
||||
"license": null,
|
||||
|
@ -6798,7 +6798,7 @@
|
||||
},
|
||||
"qttools": {
|
||||
"baseline": "6.5.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"qttranslations": {
|
||||
"baseline": "6.5.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "98c6a3ef4410b89a77895592986355c43674a881",
|
||||
"version": "6.5.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "1e559212d2b8a05e7e59a21a6fd035e7f0e05347",
|
||||
"version": "6.5.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user