2017-10-07 14:17:35 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO zrax/string_theory
|
2021-11-09 08:14:11 +08:00
|
|
|
REF 3.5
|
|
|
|
SHA512 30300155e64ace8197ed531baffe4e835c269ac10d6857ac9f29501e0a1f69965994d6f2fa2e64544e7d441de635e2d370be24efcf00a0d24066730d19f022a6
|
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)
|