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 @@ -92,6 +92,10 @@ set(xeus_REQUIRED_VERSION 5.0.0)
92
92
set (xeus_zmq_REQUIRED_VERSION 3.0.0)
93
93
set (CppInterOp_REQUIRED_VERSION 1.7.0)
94
94
95
+ if (EMSCRIPTEN)
96
+ set (xeus_lite_REQUIRED_VERSION 3.2.1)
97
+ endif ()
98
+
95
99
if (NOT TARGET xeus AND NOT TARGET xeus-static )
96
100
find_package (xeus ${xeus_REQUIRED_VERSION} REQUIRED)
97
101
if (xeus_FOUND)
@@ -439,7 +443,7 @@ if(EMSCRIPTEN)
439
443
message (FATAL_ERROR "Failed to run 'embuilder build sdl2'" )
440
444
endif ()
441
445
include (WasmBuildOptions)
442
- find_package (xeus-lite REQUIRED)
446
+ find_package (xeus-lite ${xeus_lite_REQUIRED_VERSION} REQUIRED)
443
447
add_executable (xcpp src/main_emscripten_kernel.cpp )
444
448
target_link_libraries (xcpp PRIVATE xeus-lite)
445
449
xeus_cpp_set_kernel_options(xcpp)
You can’t perform that action at this time.
0 commit comments