2017-10-07 14:17:35 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO zrax/string_theory
|
2023-12-15 14:45:53 +08:00
|
|
|
REF "${VERSION}"
|
|
|
|
SHA512 5071fb091dd5b5279776c2949b2bff7033c6bce336b1b4916e04957228884104b07e64ff3aa248b6498889fd50947c1fa7807e5d07a74c60203ffd1aade4a5a4
|
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}"
|
2023-12-15 14:45:53 +08:00
|
|
|
OPTIONS
|
|
|
|
-DST_BUILD_TESTS=OFF
|
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
|
|
|
|
2023-12-15 14:45:53 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|