2022-03-23 12:50:33 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO soasis/text
|
2023-11-11 10:02:26 +08:00
|
|
|
REF c07fba735ee8389d328103c10ce9a8d49f345060
|
|
|
|
SHA512 ca9ecacf3260f3915b7d2d90fb1d84f4083775043d592ac5d869a15debf5512d42488d43bd0d3d981180519359a423314e563f2065fa3effe2749904706f483a
|
2022-03-23 12:50:33 +08:00
|
|
|
HEAD_REF main
|
2023-11-11 10:02:26 +08:00
|
|
|
PATCHES fix-cmake-install.patch
|
2022-03-23 12:50:33 +08:00
|
|
|
)
|
|
|
|
|
2023-11-11 10:02:26 +08:00
|
|
|
set(VCPKG_BUILD_TYPE release) # header-only
|
|
|
|
|
2022-03-23 12:50:33 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
)
|
|
|
|
|
2023-11-11 10:02:26 +08:00
|
|
|
vcpkg_cmake_install()
|
2022-03-23 12:50:33 +08:00
|
|
|
|
2023-11-11 10:02:26 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|