mirror of https://github.com/microsoft/vcpkg.git
22 lines
787 B
CMake
22 lines
787 B
CMake
if(VCPKG_TARGET_IS_WINDOWS)
|
|
message("libbacktrace cannot be built using MSVC on Windows due to relying on the C++ unwind API https://itanium-cxx-abi.github.io/cxx-abi/abi-eh.html")
|
|
endif()
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO ianlancetaylor/libbacktrace
|
|
REF 1db85642e3fca189cf4e076f840a45d6934b2456
|
|
SHA512 a7f7a1233f551326e4ae1ba91db0fb905cf2737c20284c9aaf26cfe448b2a54efeaaa678e3abccbe0856c2a19019412208da7c1a82d319a58fe4d66d0a952aa0
|
|
)
|
|
|
|
vcpkg_make_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
AUTORECONF
|
|
)
|
|
vcpkg_make_install()
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/unofficial-${PORT}-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/unofficial-${PORT}")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|