2020-06-24 05:26:53 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO reo7sp/tgbot-cpp
|
2024-04-16 01:09:17 +08:00
|
|
|
REF v1.7.3
|
|
|
|
SHA512 845a051a4c7d753680759a09c1d2e1384d81f399b84d553e6785c65a6249a6a770f17eaf57ca28efd420dda78dc6c78096f045ddd87ac98a56c2c54d0b3a110b
|
2020-06-24 05:26:53 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2022-04-07 05:30:48 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-06-24 05:26:53 +08:00
|
|
|
)
|
|
|
|
|
2022-04-07 05:30:48 +08:00
|
|
|
vcpkg_cmake_install()
|
2020-06-24 05:26:53 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
|
|
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# Handle copyright
|
2023-01-24 16:34:35 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST ${SOURCE_PATH}/LICENSE)
|