2017-10-07 14:17:35 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO zrax/string_theory
|
2022-06-08 19:46:21 +08:00
|
|
|
REF 3.6
|
|
|
|
SHA512 2bbd8e6c5c2501cc9616ee6a77b60a7cac5e7c9fa58d6616f6ba39cfdee33dc1b072c5d1b34bd2f88726fb4d65d32032595be7a67854a2e894eb3d81d4a8eea9
|
2017-10-07 14:17:35 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
2017-12-19 03:06:27 +08:00
|
|
|
|
2021-11-09 08:14:11 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2017-10-07 14:17:35 +08:00
|
|
|
)
|
|
|
|
|
2021-11-09 08:14:11 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME string_theory CONFIG_PATH lib/cmake/string_theory)
|
2017-10-07 14:17:35 +08:00
|
|
|
|
2021-11-09 08:14:11 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
2017-10-07 14:17:35 +08:00
|
|
|
|
2021-11-09 08:14:11 +08:00
|
|
|
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|