2018-12-03 16:44:24 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO hanickadot/compile-time-regular-expressions
|
2023-02-23 02:57:43 +08:00
|
|
|
REF "v${VERSION}"
|
2024-05-23 14:42:23 +08:00
|
|
|
SHA512 252f4e8c516be8b240e4907de2751e17c97cb0154e6b0104f743e3ac70d58bcced24068fdca8eb3b56e16f52cfcbe8d549140033c1f7cd36269b60a80e017046
|
2021-08-31 01:28:20 +08:00
|
|
|
HEAD_REF main
|
2018-12-03 16:44:24 +08:00
|
|
|
)
|
|
|
|
|
2021-08-31 01:28:20 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DCTRE_BUILD_TESTS=OFF
|
|
|
|
-DCTRE_BUILD_PACKAGE=OFF
|
|
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "share/cmake/ctre")
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
2018-12-03 16:44:24 +08:00
|
|
|
|
2022-12-07 03:58:23 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|