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)
9292set (xeus_zmq_REQUIRED_VERSION 3.0.0)
9393set (CppInterOp_REQUIRED_VERSION 1.7.0)
9494
95+ if (EMSCRIPTEN)
96+     set (xeus_lite_REQUIRED_VERSION 3.2.1)
97+ endif ()
98+ 
9599if  (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)
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments