File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -444,8 +444,8 @@ if(EMSCRIPTEN)
444444 xeus_wasm_link_options(xcpp "web,worker" )
445445 target_link_options (xcpp
446446 PUBLIC "SHELL: --preload-file ${SYSROOT_PATH} /include@/include"
447- PUBLIC "SHELL: --preload-file ${XEUS_CPP_DATA_DIR } @/share/xeus-cpp"
448- PUBLIC "SHELL: --preload-file ${XEUS_CPP_CONF_DIR } @/etc/xeus-cpp"
447+ PUBLIC "SHELL: --preload-file ${XCPP_TAGFILES_DIR } @/share/xeus-cpp/tagfiles "
448+ PUBLIC "SHELL: --preload-file ${XCPP_TAGCONFS_DIR } @/etc/xeus-cpp/tags.d "
449449 PUBLIC "SHELL: --post-js ${CMAKE_CURRENT_SOURCE_DIR} /wasm_patches/post.js"
450450 )
451451 # TODO: Emscripten supports preloading files just once before it generates
@@ -472,11 +472,13 @@ include(CMakePackageConfigHelpers)
472472
473473set (XEUS_CPP_CMAKECONFIG_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR} /cmake/${PROJECT_NAME} " CACHE STRING "install path for xeus-cppConfig.cmake" )
474474
475- install (DIRECTORY ${XCPP_TAGFILES_DIR}
476- DESTINATION ${XEUS_CPP_DATA_DIR} )
475+ if (NOT EMSCRIPTEN)
476+ install (DIRECTORY ${XCPP_TAGFILES_DIR}
477+ DESTINATION ${XEUS_CPP_DATA_DIR} )
477478
478- install (DIRECTORY ${XCPP_TAGCONFS_DIR}
479- DESTINATION ${XEUS_CPP_CONF_DIR} )
479+ install (DIRECTORY ${XCPP_TAGCONFS_DIR}
480+ DESTINATION ${XEUS_CPP_CONF_DIR} )
481+ endif ()
480482
481483# Install xeus-cpp and xeus-cpp-static
482484if (XEUS_CPP_BUILD_SHARED)
You can’t perform that action at this time.
0 commit comments