2019-07-10 03:46:45 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO lsh123/xmlsec
|
2022-05-05 06:58:09 +08:00
|
|
|
REF d823da17c80b38ccc3c4262d7b2042b07e69e266 # xmlsec-1_2_34
|
|
|
|
SHA512 10ca5cb948723fcf1531efaab547c0665bc323cd52906decd314e0c78fff46ac7bc51eba5177838fc7f081f74f5e4a202d765c17dd0da6e378798676773a68ce
|
2019-07-10 03:46:45 +08:00
|
|
|
HEAD_REF master
|
|
|
|
PATCHES
|
2021-05-26 04:34:00 +08:00
|
|
|
pkgconfig_fixes.patch
|
2019-07-10 03:46:45 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
|
|
|
|
2022-03-25 03:10:28 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-07-10 03:46:45 +08:00
|
|
|
OPTIONS_DEBUG -DINSTALL_HEADERS_TOOLS=OFF
|
|
|
|
)
|
|
|
|
|
2022-03-25 03:10:28 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup()
|
2021-05-26 04:34:00 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2019-07-10 03:46:45 +08:00
|
|
|
|
2022-03-25 03:10:28 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/Copyright" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
2019-07-10 03:46:45 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|