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}"
|
|
|
|
SHA512 1e4203b546f3737e7fd2ea7a7ed04fa5b0663e7c319ed796140407d4e56d70e40eb5a9497d9f9eb7be182b038efe36f6ba1a42f10d24d3732cf54886c40db8eb
|
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)
|