2023-04-06 03:42:33 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO aklomp/base64
|
2023-12-14 15:55:38 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 d63c6b36c99abcdfadf3730096c3a7cd36593526dd3dae815035ce196d3354ece7da1d92ecec800a81e1ab5e1d878b24f0b1de62b7aca516170d06a07c1b42a2
|
2023-04-06 03:42:33 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
2023-12-14 15:55:38 +08:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2023-04-06 03:42:33 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
|
|
|
|
vcpkg_cmake_config_fixup(
|
2023-04-11 08:54:35 +08:00
|
|
|
PACKAGE_NAME base64
|
2023-04-06 03:42:33 +08:00
|
|
|
CONFIG_PATH "lib/cmake/base64"
|
|
|
|
)
|
|
|
|
|
2023-12-14 15:55:38 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|