2017-12-05 11:24:00 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO google/re2
|
2023-02-22 00:09:59 +08:00
|
|
|
REF "${VERSION}"
|
|
|
|
SHA512 164953ae0cdd52efb0c327be3df8bb62532b37200e66adc3229c2dfdbd68cb794572559dbdf2d374e016c910a56712c88bbcca4caa683fdc55357af5716b1bf5
|
2017-12-05 11:24:00 +08:00
|
|
|
HEAD_REF master
|
2017-12-05 09:15:16 +08:00
|
|
|
)
|
|
|
|
|
2021-10-29 16:22:51 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DRE2_BUILD_TESTING=OFF
|
2017-12-05 09:15:16 +08:00
|
|
|
)
|
|
|
|
|
2021-10-29 16:22:51 +08:00
|
|
|
vcpkg_cmake_install()
|
2023-02-22 00:09:59 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
|
2023-01-24 08:01:32 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2017-12-05 09:15:16 +08:00
|
|
|
|
2018-12-05 11:18:56 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2017-12-05 09:15:16 +08:00
|
|
|
# Handle copyright
|
2023-02-22 00:09:59 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|