mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 15:07:55 +08:00
e2b7697406
* Initial support of libunwind * Fix copyright install * ./vcpkg x-add-version --all * Update git-tree * Resolve some change requests - A blank line needs to be added at the end of the file. - Fix the version number in the vcpkg.json and usage files. * Fix version * Use vcpkg_from_github instead vcpkg_from_git * Fix usage and portfile.cmake files * Fix git-tree * Yet another refactor * Update git-tree
19 lines
553 B
CMake
19 lines
553 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO "libunwind/libunwind"
|
|
REF "v${VERSION}"
|
|
HEAD_REF "v1.7-stable"
|
|
SHA512 b560f45cfa8ca3a60b41779afbcd862860c0f7af4014298c0b22eaec8b39740349c2077a940fb0d235c8f7d6a567e00c5cb0a04c251053f90c51320616784fd2
|
|
)
|
|
|
|
vcpkg_configure_make(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
AUTOCONFIG
|
|
)
|
|
vcpkg_install_make()
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|