2019-05-03 13:57:43 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO vczh-libraries/Release
|
2020-02-11 08:08:57 +08:00
|
|
|
REF 5dfe25c4f4997da2d7a23bdc80c2438e72d9813a # 0.11.0.0
|
|
|
|
SHA512 5d585e561246385b074c625a3644b79defa22328dab0ab14112c846cb917f384abb617a5f400971ca29e4ee5ac391b88b17ee65d594caf9ebf279806db669a4a
|
2019-05-03 13:57:43 +08:00
|
|
|
HEAD_REF master
|
2022-04-19 12:04:15 +08:00
|
|
|
PATCHES fix-arm.patch
|
2019-05-03 13:57:43 +08:00
|
|
|
)
|
|
|
|
|
2022-01-11 05:09:22 +08:00
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
2019-05-03 13:57:43 +08:00
|
|
|
|
2022-01-11 05:09:22 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-05-03 13:57:43 +08:00
|
|
|
)
|
|
|
|
|
2022-01-11 05:09:22 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-05-03 13:57:43 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2022-01-11 05:09:22 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2019-05-03 13:57:43 +08:00
|
|
|
|
|
|
|
# Tools
|
2022-01-11 05:09:22 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/Tools/CppMerge.exe" DESTINATION "${CURRENT_PACKAGES_DIR}/tools")
|
2019-05-03 13:57:43 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2022-01-11 05:09:22 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/vlpp" RENAME copyright)
|