File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -435,14 +435,14 @@ if(EMSCRIPTEN)
435435 xeus_cpp_set_kernel_options(xcpp)
436436 xeus_wasm_compile_options(xcpp)
437437 xeus_wasm_link_options(xcpp "web,worker" )
438- if (NOT DEFINED LLVM_RESOURCE_DIR )
439- set (LLVM_RESOURCE_DIR ${CMAKE_INSTALL_PREFIX}${XEUS_CPP_RESOURCE_DIR} )
440- message (STATUS "LLVM_RESOURCE_DIR not defined, using fallback value: ${CMAKE_INSTALL_PREFIX}${XEUS_CPP_RESOURCE_DIR} " )
438+ if (NOT DEFINED CLANG_RESOURCE_DIR )
439+ set (CLANG_RESOURCE_DIR ${CMAKE_INSTALL_PREFIX}${XEUS_CPP_RESOURCE_DIR} )
440+ message (STATUS "CLANG_RESOURCE_DIR not defined, using fallback value: ${CMAKE_INSTALL_PREFIX}${XEUS_CPP_RESOURCE_DIR} " )
441441 endif ()
442442 target_link_options (xcpp
443443 PUBLIC "SHELL: -s USE_SDL=2"
444444 PUBLIC "SHELL: --preload-file ${SYSROOT_PATH} /include@/include"
445- PUBLIC "SHELL: --preload-file ${LLVM_RESOURCE_DIR } @${LLVM_RESOURCE_DIR } "
445+ PUBLIC "SHELL: --preload-file ${CLANG_RESOURCE_DIR } @${CLANG_RESOURCE_DIR } "
446446 PUBLIC "SHELL: --preload-file ${XEUS_CPP_DATA_DIR} @/share/xeus-cpp"
447447 PUBLIC "SHELL: --preload-file ${XEUS_CPP_CONF_DIR} @/etc/xeus-cpp"
448448 PUBLIC "SHELL: --post-js ${CMAKE_CURRENT_SOURCE_DIR} /wasm_patches/post.js"
You can’t perform that action at this time.
0 commit comments