From b942993f65425a2bf596a969d0c6f47c4296e067 Mon Sep 17 00:00:00 2001 From: anutosh491 Date: Sat, 24 May 2025 17:59:45 +0530 Subject: [PATCH] Address todo for supporting clang resource dir for lite --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f7789abc..cf74aba4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -438,13 +438,11 @@ if(EMSCRIPTEN) target_link_options(xcpp PUBLIC "SHELL: -s USE_SDL=2" PUBLIC "SHELL: --preload-file ${SYSROOT_PATH}/include@/include" - #PUBLIC "SHELL: --preload-file ${CMAKE_INSTALL_PREFIX}${XEUS_CPP_RESOURCE_DIR}@${XEUS_CPP_RESOURCE_DIR}" + PUBLIC "SHELL: --preload-file ${CMAKE_INSTALL_PREFIX}${XEUS_CPP_RESOURCE_DIR}@${XEUS_CPP_RESOURCE_DIR}" PUBLIC "SHELL: --preload-file ${XEUS_CPP_DATA_DIR}@/share/xeus-cpp" PUBLIC "SHELL: --preload-file ${XEUS_CPP_CONF_DIR}@/etc/xeus-cpp" PUBLIC "SHELL: --post-js ${CMAKE_CURRENT_SOURCE_DIR}/wasm_patches/post.js" ) - # TODO: Uncomment the above line regarding preloading clang's resource dir - # once has been supported through cppinterop. endif() # Tests # =====