2021-02-25 06:06:58 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO hazelcast/hazelcast-cpp-client
|
2023-01-05 04:39:09 +08:00
|
|
|
REF v5.1.0
|
|
|
|
SHA512 ffb7a00f432098b64e1455074843ca7d592b4ccf169f6c51234840ca13dc9f69ef424b1ace04455a80a6f93d230d44d5323baa4b95017f84c71f1e31ff320088
|
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)
|