We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aace669 commit 7817031Copy full SHA for 7817031
CMakeLists.txt
@@ -431,6 +431,14 @@ if (XEUS_CPP_BUILD_EXECUTABLE)
431
endif()
432
433
if(EMSCRIPTEN)
434
+ # Ensure required SDL2 ports (e.g. SDL2) are built before header preloading
435
+ execute_process(
436
+ COMMAND embuilder build sdl2
437
+ RESULT_VARIABLE SDL2_RESULT
438
+ )
439
+ if(NOT SDL2_RESULT EQUAL 0)
440
+ message(FATAL_ERROR "Failed to run 'embuilder build sdl2'")
441
+ endif()
442
include(WasmBuildOptions)
443
find_package(xeus-lite REQUIRED)
444
add_executable(xcpp src/main_emscripten_kernel.cpp )
0 commit comments