2019-12-21 04:15:42 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Naios/function2
|
2023-09-27 16:24:57 +08:00
|
|
|
REF "${VERSION}"
|
2024-01-26 01:33:51 +08:00
|
|
|
SHA512 a70cc4d5cdcd9a108c930ef6f18662f649405b2c6d0c0e25526af555392503f467bfa7755d0f00651ad61c339102315cc2a1c9354326433bfaa3f8110517a79c
|
2019-12-21 04:15:42 +08:00
|
|
|
HEAD_REF master
|
|
|
|
PATCHES
|
|
|
|
disable-testing.patch
|
|
|
|
)
|
|
|
|
|
2022-11-15 06:17:58 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-12-21 04:15:42 +08:00
|
|
|
)
|
|
|
|
|
2022-11-15 06:17:58 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_copy_pdbs()
|
2019-12-21 04:15:42 +08:00
|
|
|
|
2022-11-15 06:17:58 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
|
2019-12-21 04:15:42 +08:00
|
|
|
|
2022-11-15 06:17:58 +08:00
|
|
|
file(REMOVE "${CURRENT_PACKAGES_DIR}/LICENSE.txt" "${CURRENT_PACKAGES_DIR}/Readme.md")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
2019-12-21 04:15:42 +08:00
|
|
|
|
2022-11-15 06:17:58 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|