mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 11:39:06 +08:00
86c573ec5f
* Update pe-parse to 1.3.0 * Update CI baseline * Update uthenticode to 1.0.6 * Update git-tree hash * Fix ARM64 Windows build * Update git-tree hash Co-authored-by: chausner <chausner@users.noreply.github.com>
25 lines
725 B
CMake
25 lines
725 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO trailofbits/pe-parse
|
|
REF v1.3.0
|
|
SHA512 b723e90821e0ac67b4d6b15e5a46cf13544f21380a4d2add013eedcaa309e1be2cff6789247397c6fb4a938e4a240a835cbe21c8221bd558a4fccf8e93ce1548
|
|
HEAD_REF master
|
|
PATCHES
|
|
arm64-windows-fix.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DBUILD_COMMAND_LINE_TOOLS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/pe-parse")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|