Skip to content

Commit 4a49cc4

Browse files
authored
Set minimum required xeus-lite version to 3.2.1 (#339)
* Set minimum required xeus-lite version to 3.2.1 * Apply PR suggestion
1 parent 7ecb686 commit 4a49cc4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ endif()
9191
set(xeus_REQUIRED_VERSION 5.0.0)
9292
set(xeus_zmq_REQUIRED_VERSION 3.0.0)
9393
set(CppInterOp_REQUIRED_VERSION 1.7.0)
94+
set(xeus_lite_REQUIRED_VERSION 3.2.1)
9495

9596
if (NOT TARGET xeus AND NOT TARGET xeus-static)
9697
find_package(xeus ${xeus_REQUIRED_VERSION} REQUIRED)
@@ -439,7 +440,7 @@ if(EMSCRIPTEN)
439440
message(FATAL_ERROR "Failed to run 'embuilder build sdl2'")
440441
endif()
441442
include(WasmBuildOptions)
442-
find_package(xeus-lite REQUIRED)
443+
find_package(xeus-lite ${xeus_lite_REQUIRED_VERSION} REQUIRED)
443444
add_executable(xcpp src/main_emscripten_kernel.cpp )
444445
target_link_libraries(xcpp PRIVATE xeus-lite)
445446
xeus_cpp_set_kernel_options(xcpp)

0 commit comments

Comments
 (0)