2023-10-03 11:26:45 +08:00
|
|
|
set(VCPKG_BUILD_TYPE release) # header-only
|
|
|
|
|
2019-05-03 13:57:43 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO nemtrif/utfcpp
|
2023-10-03 11:26:45 +08:00
|
|
|
REF "v${VERSION}"
|
2024-01-09 05:06:39 +08:00
|
|
|
SHA512 49ca33bfb2ee44515f555184b51191f7b706a228fb84ddc62e1e6b59c7d69a5ff836f38694daad0012a0f651b6199451974fe44ebe80081df00cf8c2759e3249
|
2019-05-03 13:57:43 +08:00
|
|
|
HEAD_REF master
|
2016-10-20 02:35:24 +08:00
|
|
|
)
|
|
|
|
|
2022-09-27 02:25:11 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-10-14 05:46:28 +08:00
|
|
|
)
|
|
|
|
|
2022-09-27 02:25:11 +08:00
|
|
|
vcpkg_cmake_install()
|
2023-11-08 01:33:16 +08:00
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME utf8cpp CONFIG_PATH share/utf8cpp/cmake)
|
2020-10-14 05:46:28 +08:00
|
|
|
|
2022-12-30 15:51:16 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|