File tree 1 file changed +8
-6
lines changed 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -444,8 +444,8 @@ if(EMSCRIPTEN)
444
444
xeus_wasm_link_options(xcpp "web,worker" )
445
445
target_link_options (xcpp
446
446
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 "
449
449
PUBLIC "SHELL: --post-js ${CMAKE_CURRENT_SOURCE_DIR} /wasm_patches/post.js"
450
450
)
451
451
# TODO: Emscripten supports preloading files just once before it generates
@@ -472,11 +472,13 @@ include(CMakePackageConfigHelpers)
472
472
473
473
set (XEUS_CPP_CMAKECONFIG_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR} /cmake/${PROJECT_NAME} " CACHE STRING "install path for xeus-cppConfig.cmake" )
474
474
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} )
477
478
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 ()
480
482
481
483
# Install xeus-cpp and xeus-cpp-static
482
484
if (XEUS_CPP_BUILD_SHARED)
You can’t perform that action at this time.
0 commit comments