forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request microsoft#61 from daschuer/add_arm64-osx
Add arm64 osx
- Loading branch information
Showing
6 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
if (NOT ${VCPKG_CROSSCOMPILING}) | ||
# Qt installs the host tools to /home/sperry/workspace/vcpkg/installed/{HOST_TRIPLET}/tools/qt5 | ||
# and not to the ${CURRENT_PACKAGES_DIR}. This helper package creates the a valid package from these files | ||
# at packages/qt5-host-tools_${TARGET_TRIPLET} | ||
if (NOT EXISTS "${CURRENT_HOST_INSTALLED_DIR}/lib/pkgconfig/Qt5Core.pc") | ||
message(STATUS "creating a package from ${CURRENT_HOST_INSTALLED_DIR}/tools/qt5") | ||
file(COPY "${CURRENT_HOST_INSTALLED_DIR}/tools/qt5/" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/qt5/") | ||
file(REMOVE_RECURSE "${CURRENT_HOST_INSTALLED_DIR}/tools/qt5") | ||
endif() | ||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/include") | ||
file(TOUCH "${CURRENT_PACKAGES_DIR}/include/qt5-host-tools") | ||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/qt5-host-tools") | ||
file(TOUCH "${CURRENT_PACKAGES_DIR}/share/qt5-host-tools/copyright") | ||
else() | ||
# crosscompiling | ||
message(FATAL_ERROR "qt5-host-tools can only be installed for the host") | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "qt5-host-tools", | ||
"version-string": "5.12.4", | ||
"port-version": 2, | ||
"description": "Export helper for Qt5 host tools" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters