2019-07-10 03:46:45 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO lsh123/xmlsec
|
2021-06-04 03:42:49 +08:00
|
|
|
REF xmlsec-1_2_32
|
|
|
|
SHA512 45e2efc6bdf6ec09db6ff01b521c3fbcf44aa9804d5692bea5296e80d7fc2f05fac322868f82840a7b67e0abd4233222098aa94a29ec9a6a7d049180cf131c57
|
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})
|
|
|
|
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
OPTIONS -DPORT_DIR=${CMAKE_CURRENT_LIST_DIR}
|
|
|
|
OPTIONS_DEBUG -DINSTALL_HEADERS_TOOLS=OFF
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
2020-02-29 13:50:01 +08:00
|
|
|
vcpkg_fixup_cmake_targets()
|
2021-05-26 04:34:00 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2019-07-10 03:46:45 +08:00
|
|
|
|
|
|
|
file(INSTALL ${SOURCE_PATH}/Copyright DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|