Skip to content

Commit a301271

Browse files
authored
Address todo for supporting clang resource dir for lite (#311)
1 parent 97daaeb commit a301271

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -438,13 +438,11 @@ if(EMSCRIPTEN)
438438
target_link_options(xcpp
439439
PUBLIC "SHELL: -s USE_SDL=2"
440440
PUBLIC "SHELL: --preload-file ${SYSROOT_PATH}/include@/include"
441-
#PUBLIC "SHELL: --preload-file ${CMAKE_INSTALL_PREFIX}${XEUS_CPP_RESOURCE_DIR}@${XEUS_CPP_RESOURCE_DIR}"
441+
PUBLIC "SHELL: --preload-file ${CMAKE_INSTALL_PREFIX}${XEUS_CPP_RESOURCE_DIR}@${XEUS_CPP_RESOURCE_DIR}"
442442
PUBLIC "SHELL: --preload-file ${XEUS_CPP_DATA_DIR}@/share/xeus-cpp"
443443
PUBLIC "SHELL: --preload-file ${XEUS_CPP_CONF_DIR}@/etc/xeus-cpp"
444444
PUBLIC "SHELL: --post-js ${CMAKE_CURRENT_SOURCE_DIR}/wasm_patches/post.js"
445445
)
446-
# TODO: Uncomment the above line regarding preloading clang's resource dir
447-
# once has been supported through cppinterop.
448446
endif()
449447
# Tests
450448
# =====

0 commit comments

Comments
 (0)