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