File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,10 @@ set(xeus_REQUIRED_VERSION 5.0.0)
9494set (xeus_zmq_REQUIRED_VERSION 3.0.0)
9595set (CppInterOp_REQUIRED_VERSION 1.7.0)
9696
97+ if (EMSCRIPTEN)
98+ set (xeus_lite_REQUIRED_VERSION 3.2.1)
99+ endif ()
100+
97101if (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)
You can’t perform that action at this time.
0 commit comments