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