2021-02-25 06:06:58 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO hazelcast/hazelcast-cpp-client
|
2023-03-21 02:47:04 +08:00
|
|
|
REF "v${VERSION}"
|
2023-06-15 02:49:47 +08:00
|
|
|
SHA512 9f6668fe88b1e10e1c91fea26acb12efab464f652d9008e43b06d92413a7bc4b66cd0ef00c0643ddf12c8d29b099cd767209a096e609fa214233dcc3288d194e
|
2021-02-25 06:06:58 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-06-12 00:28:43 +08:00
|
|
|
vcpkg_check_features(
|
|
|
|
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
|
|
FEATURES
|
|
|
|
openssl WITH_OPENSSL
|
|
|
|
example BUILD_EXAMPLES
|
2021-02-25 06:06:58 +08:00
|
|
|
)
|
|
|
|
|
2021-11-06 05:28:40 +08:00
|
|
|
vcpkg_cmake_configure(
|
2021-02-25 06:06:58 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS ${FEATURE_OPTIONS}
|
|
|
|
)
|
|
|
|
|
2021-11-06 05:28:40 +08:00
|
|
|
vcpkg_cmake_install()
|
2021-02-25 06:06:58 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
2021-11-06 05:28:40 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/hazelcast-cpp-client)
|
2021-02-25 06:06:58 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2021-06-12 00:28:43 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|