Skip to content

Commit 13e56df

Browse files
mcbartonvgvassilev
authored andcommitted
Add xeus_zmq_REQUIRED_VERSION cmake
1 parent f4b9593 commit 13e56df

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ endif()
8080

8181
set(xtl_REQUIRED_VERSION 0.7.0)
8282
set(xeus_REQUIRED_VERSION 3.2.0)
83+
set(xeus_zmq_REQUIRED_VERSION 1.0.2)
8384

8485
if (NOT TARGET xtl)
8586
find_package(xtl ${xtl_REQUIRED_VERSION} REQUIRED)
@@ -355,7 +356,7 @@ endif ()
355356
# ====
356357

357358
if (XEUS_CPP_BUILD_EXECUTABLE)
358-
find_package(xeus-zmq 1.0.2 REQUIRED)
359+
find_package(xeus-zmq ${xeus_zmq_REQUIRED_VERSION} REQUIRED)
359360
add_executable(xcpp ${XEUS_CPP_MAIN_SRC})
360361
target_compile_features(xcpp PRIVATE cxx_std_17)
361362
xeus_cpp_set_common_options(xcpp)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ http://xeus-cpp.readthedocs.io
136136

137137
| `xeus-cpp` | `xeus-zmq` | `xtl` | `CppInterOp` | `clang` | `pugixml` | `cppzmq` | `cpp-argparse`| `nlohmann_json` |
138138
|------------|-----------------|-----------------|--------------|-----------|-----------|----------|---------------|-----------------|
139-
| 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 |
139+
| 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 |
140140
| 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 |
141141
| 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 |
142142
| 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 |

0 commit comments

Comments
 (0)