mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 02:07:49 +08:00
42bb0d9e8d
* Add libdwarf 0.9.0 * Bump hash * Retrofit cpptrace and fix a libdwarf issue * Bump * Bump a baseline * Undo baseline bump * Undo port version bump * Add libdwarf 0.9.1 * Bump hash * Move zstd patch to dependencies.diff * Bump baseline * Bump * Undo changes to versoins/c-/cpptrace.json * properly update cpptrace port version * --overwrite-version this time * Forgot to delete file * fix hash
26 lines
769 B
CMake
26 lines
769 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO jeremy-rifkin/cpptrace
|
|
REF "v${VERSION}"
|
|
SHA512 732f8f70d9c8f01d10802bbb1da150d75b93c15fa0299bb84ba5be87d0da52ebe3b637e382a044c8d1e4ea283fae84c008113fc1f17ec4224692d5d911ab45d7
|
|
HEAD_REF main
|
|
PATCHES
|
|
libdwarf-0.9.0.diff
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS -DCPPTRACE_USE_EXTERNAL_LIBDWARF=ON -DCPPTRACE_VCPKG=ON
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(
|
|
PACKAGE_NAME "cpptrace"
|
|
CONFIG_PATH "lib/cmake/cpptrace"
|
|
)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|