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)
435
435
xeus_cpp_set_kernel_options (xcpp )
436
436
xeus_wasm_compile_options (xcpp )
437
437
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} " )
441
441
endif ()
442
442
target_link_options (xcpp
443
443
PUBLIC "SHELL: -s USE_SDL=2"
444
444
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 } "
446
446
PUBLIC "SHELL: --preload-file ${XEUS_CPP_DATA_DIR} @/share/xeus-cpp"
447
447
PUBLIC "SHELL: --preload-file ${XEUS_CPP_CONF_DIR} @/etc/xeus-cpp"
448
448
PUBLIC "SHELL: --post-js ${CMAKE_CURRENT_SOURCE_DIR} /wasm_patches/post.js"
You can’t perform that action at this time.
0 commit comments