2019-03-01 15:53:42 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
2018-10-26 06:24:32 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO socketio/socket.io-client-cpp
|
2021-10-27 14:34:56 +08:00
|
|
|
REF 3.1.0
|
|
|
|
SHA512 a0adaa06ddb24297686a40b1e71a55bbab437093f828f76040c376b4adccb7d8b06eff4d8569dbde9b2e071257b3290e7e2bffd6354b33ecf67378ffa1d0cc13
|
2018-10-26 06:24:32 +08:00
|
|
|
HEAD_REF master
|
2021-07-01 22:38:43 +08:00
|
|
|
PATCHES
|
|
|
|
fix-file-not-found.patch
|
2018-10-26 06:24:32 +08:00
|
|
|
)
|
|
|
|
|
2021-10-27 14:34:56 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2018-10-26 06:24:32 +08:00
|
|
|
)
|
|
|
|
|
2021-10-27 14:34:56 +08:00
|
|
|
vcpkg_cmake_install()
|
2018-10-26 06:24:32 +08:00
|
|
|
|
2021-10-27 14:34:56 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2018-10-26 06:24:32 +08:00
|
|
|
|
2021-10-27 14:34:56 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|