mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 05:21:49 +08:00
9d45ae9d87
* Update socket-io-client to 3.1.0 * Update CI baseline Co-authored-by: chausner <chausner@users.noreply.github.com>
22 lines
606 B
CMake
22 lines
606 B
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO socketio/socket.io-client-cpp
|
|
REF 3.1.0
|
|
SHA512 a0adaa06ddb24297686a40b1e71a55bbab437093f828f76040c376b4adccb7d8b06eff4d8569dbde9b2e071257b3290e7e2bffd6354b33ecf67378ffa1d0cc13
|
|
HEAD_REF master
|
|
PATCHES
|
|
fix-file-not-found.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|