Skip to content

Commit 964abe2

Browse files
authored
Set minimum required xeus-lite version to 3.2.1
1 parent 2226ca0 commit 964abe2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ set(xeus_REQUIRED_VERSION 5.0.0)
9494
set(xeus_zmq_REQUIRED_VERSION 3.0.0)
9595
set(CppInterOp_REQUIRED_VERSION 1.7.0)
9696

97+
if(EMSCRIPTEN)
98+
set(xeus_lite_REQUIRED_VERSION 3.2.1)
99+
endif()
100+
97101
if (NOT TARGET xeus AND NOT TARGET xeus-static)
98102
find_package(xeus ${xeus_REQUIRED_VERSION} REQUIRED)
99103
if (xeus_FOUND)
@@ -441,7 +445,7 @@ if(EMSCRIPTEN)
441445
message(FATAL_ERROR "Failed to run 'embuilder build sdl2'")
442446
endif()
443447
include(WasmBuildOptions)
444-
find_package(xeus-lite REQUIRED)
448+
find_package(xeus-lite ${xeus_lite_REQUIRED_VERSION} REQUIRED)
445449
add_executable(xcpp src/main_emscripten_kernel.cpp )
446450
target_link_libraries(xcpp PRIVATE xeus-lite)
447451
xeus_cpp_set_kernel_options(xcpp)

0 commit comments

Comments
 (0)