diff --git a/CMakeLists.txt b/CMakeLists.txt index 995ae425a..48b4bc4db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,6 +94,14 @@ else() find_package(Boost 1.71 REQUIRED COMPONENTS thread chrono) endif() +if (Boost_FOUND) + message(STATUS "Boost version: ${Boost_VERSION}") + message(STATUS "Boost include directory: ${Boost_INCLUDE_DIRS}") + message(STATUS "Boost libraries: ${Boost_LIBRARIES}") +else() + message(FATAL_ERROR "Boost not found!") +endif() + # find OpenSSL if building WITH_OPENSSL if (WITH_OPENSSL) if (APPLE) @@ -104,6 +112,14 @@ if (WITH_OPENSSL) endif () find_package(OpenSSL REQUIRED) + + if (OpenSSL_FOUND) + message(STATUS "OpenSSL version: ${OpenSSL_VERSION}") + message(STATUS "OpenSSL include directory: ${OPENSSL_INCLUDE_DIR}") + message(STATUS "OpenSSL libraries: ${OPENSSL_LIBRARIES}") + else() + message(FATAL_ERROR "OpenSSL not found!") + endif() endif () # add the library target diff --git a/Reference_Manual.md.in b/Reference_Manual.md.in index 10f8e114d..0ad629446 100644 --- a/Reference_Manual.md.in +++ b/Reference_Manual.md.in @@ -244,7 +244,7 @@ This generates the `conanbuildinfo.cmake` file to be included in your CMakeLists 1. Linux, macOS or Windows 2. A compiler that supports C++11 3. [CMake](https://cmake.org) 3.10 or above -4. [Boost](https://www.boost.org) 1.71 or above. Minimum boost version is upgraded to 1.73 for Windows due to [this](https://github.com/chriskohlhoff/asio/issues/431) bug. +4. [Boost](https://www.boost.org) 1.73 or above. 5. [OpenSSL](https://www.openssl.org) (optional) #### 1.1.3.2. Downloading Source Code diff --git a/vcpkg.json b/vcpkg.json new file mode 100644 index 000000000..bb587099e --- /dev/null +++ b/vcpkg.json @@ -0,0 +1,59 @@ +{ + "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", + "name": "hazelcast-cpp-client", + "version": "5.5.0", + "dependencies": [ + { + "name": "boost-any", + "version>=": "1.73.0" + }, + { + "name": "boost-asio", + "version>=": "1.73.0" + }, + { + "name": "boost-chrono", + "version>=": "1.73.0" + }, + { + "name": "boost-any", + "version>=": "1.73.0" + }, + { + "name": "boost-format", + "version>=": "1.73.0" + }, + { + "name": "boost-optional", + "version>=": "1.73.0" + }, + { + "name": "boost-property-tree", + "version>=": "1.73.0" + }, + { + "name": "boost-system", + "version>=": "1.73.0" + }, + { + "name": "boost-thread", + "version>=": "1.73.0" + }, + { + "name": "boost-uuid", + "version>=": "1.73.0" + }, + { + "name": "boost-multiprecision", + "version>=": "1.73.0" + } + ], + "features": { + "build-tests": { + "description": "Enable GTest for building tests", + "dependencies": [ + "gtest" + ] + } + } +} \ No newline at end of file