2024-10-30 05:05:38 +08:00
|
|
|
string(REGEX REPLACE "^([0-9]+)[.]([0-9])$" "\\1.0\\2" TURBO_VERSION "${VERSION}")
|
|
|
|
|
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
2020-03-04 13:40:00 -08:00
|
|
|
vcpkg_from_github(
|
2024-10-30 05:05:38 +08:00
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO powturbo/Turbo-Base64
|
|
|
|
REF ${TURBO_VERSION}
|
|
|
|
SHA512 de8aaace0faf6552cf692f131a4d03882b88252732bb4160c48e5cc630a0c2f637fa27309e084d02305cdf7ef28020e6c9fbb82b50c1916e46aabc95baea75ad
|
|
|
|
HEAD_REF master
|
2020-03-04 13:40:00 -08:00
|
|
|
)
|
|
|
|
|
2022-08-25 19:44:12 +02:00
|
|
|
vcpkg_cmake_configure(
|
2024-10-30 05:05:38 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-03-04 13:40:00 -08:00
|
|
|
)
|
|
|
|
|
2022-08-25 19:44:12 +02:00
|
|
|
vcpkg_cmake_install()
|
2020-03-04 13:40:00 -08:00
|
|
|
|
2024-10-30 05:05:38 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
|
|
|
|
|
2022-08-25 19:44:12 +02:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|