From 1cf861a6ff13e16fcd4cb57ffa2a5f29a11f43cf Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Fri, 31 May 2024 10:52:08 +0100 Subject: [PATCH] Add xeus_zmq_REQUIRED_VERSION cmake --- CMakeLists.txt | 3 ++- README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d0bd8174..8933e18b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,6 +80,7 @@ endif() set(xtl_REQUIRED_VERSION 0.7.0) set(xeus_REQUIRED_VERSION 3.2.0) +set(xeus_zmq_REQUIRED_VERSION 1.0.2) if (NOT TARGET xtl) find_package(xtl ${xtl_REQUIRED_VERSION} REQUIRED) @@ -355,7 +356,7 @@ endif () # ==== if (XEUS_CPP_BUILD_EXECUTABLE) - find_package(xeus-zmq 1.0.2 REQUIRED) + find_package(xeus-zmq ${xeus_zmq_REQUIRED_VERSION} REQUIRED) add_executable(xcpp ${XEUS_CPP_MAIN_SRC}) target_compile_features(xcpp PRIVATE cxx_std_17) xeus_cpp_set_common_options(xcpp) diff --git a/README.md b/README.md index d0101993..cc78c2cd 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ http://xeus-cpp.readthedocs.io | `xeus-cpp` | `xeus-zmq` | `xtl` | `CppInterOp` | `clang` | `pugixml` | `cppzmq` | `cpp-argparse`| `nlohmann_json` | |------------|-----------------|-----------------|--------------|-----------|-----------|----------|---------------|-----------------| -| main | >=1.0.0,<2.0.0 | >=0.7.7,<0.8.0 | >=1.3.0 | | ~1.8.1 | ~4.3.0 | <3.1 | >=3.11.2,<4.0 | +| main | >=1.0.2,<2.0.0 | >=0.7.7,<0.8.0 | >=1.3.0 | | ~1.8.1 | ~4.3.0 | <3.1 | >=3.11.2,<4.0 | | 0.4.0 | >=1.0.0,<2.0.0 | >=0.7.7,<0.8.0 | | >=16,<17 | ~1.8.1 | ~4.3.0 | ~2.9 | >=3.6.1,<4.0 | | 0.3.0 | >=1.0.0,<2.0.0 | >=0.7.7,<0.8.0 | | >=16,<17 | ~1.8.1 | ~4.3.0 | ~2.9 | >=3.6.1,<4.0 | | 0.2.0 | >=1.0.0,<2.0.0 | >=0.7.7,<0.8.0 | | >=16,<17 | ~1.8.1 | ~4.3.0 | ~2.9 | >=3.6.1,<4.0 |