mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 17:49:03 +08:00
239bf76101
* [vlpp] does not support osx arm * fix ARM, rather than just marking !supports * add license * ughhhh lack of malloc Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
28 lines
850 B
CMake
28 lines
850 B
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO vczh-libraries/Release
|
|
REF 5dfe25c4f4997da2d7a23bdc80c2438e72d9813a # 0.11.0.0
|
|
SHA512 5d585e561246385b074c625a3644b79defa22328dab0ab14112c846cb917f384abb617a5f400971ca29e4ee5ac391b88b17ee65d594caf9ebf279806db669a4a
|
|
HEAD_REF master
|
|
PATCHES fix-arm.patch
|
|
)
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
# Tools
|
|
file(INSTALL "${SOURCE_PATH}/Tools/CppMerge.exe" DESTINATION "${CURRENT_PACKAGES_DIR}/tools")
|
|
|
|
# Handle copyright
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/vlpp" RENAME copyright)
|