Skip to content

Commit 76d0934

Browse files
committed
Set minimum required xeus-lite version to 3.2.1
1 parent a236b3b commit 76d0934

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
@@ -92,6 +92,10 @@ set(xeus_REQUIRED_VERSION 5.0.0)
9292
set(xeus_zmq_REQUIRED_VERSION 3.0.0)
9393
set(CppInterOp_REQUIRED_VERSION 1.7.0)
9494

95+
if(EMSCRIPTEN)
96+
set(xeus_lite_REQUIRED_VERSION 3.2.1)
97+
endif()
98+
9599
if (NOT TARGET xeus AND NOT TARGET xeus-static)
96100
find_package(xeus ${xeus_REQUIRED_VERSION} REQUIRED)
97101
if (xeus_FOUND)
@@ -439,7 +443,7 @@ if(EMSCRIPTEN)
439443
message(FATAL_ERROR "Failed to run 'embuilder build sdl2'")
440444
endif()
441445
include(WasmBuildOptions)
442-
find_package(xeus-lite REQUIRED)
446+
find_package(xeus-lite ${xeus_lite_REQUIRED_VERSION} REQUIRED)
443447
add_executable(xcpp src/main_emscripten_kernel.cpp )
444448
target_link_libraries(xcpp PRIVATE xeus-lite)
445449
xeus_cpp_set_kernel_options(xcpp)

0 commit comments

Comments
 (0)