File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -447,17 +447,10 @@ if(EMSCRIPTEN)
447
447
xeus_wasm_compile_options (xcpp )
448
448
xeus_wasm_link_options (xcpp "web,worker" )
449
449
if (SYSROOT_PATH MATCHES "@" )
450
- execute_process (
451
- COMMAND ln -s ${SYSROOT_PATH}
452
- )
453
- set (SYSROOT_PATH_ORIGINAL ${SYSROOT_PATH} )
454
- set (SYSROOT_PATH "./sysroot/" )
450
+ string (REPLACE "@" "@@" SYSROOT_PATH "${SYSROOT_PATH} " )
455
451
endif ()
456
452
if (XEUS_CPP_RESOURCE_DIR MATCHES "@" )
457
- execute_process (
458
- COMMAND ln -s ${XEUS_CPP_RESOURCE_DIR}
459
- )
460
- set (XEUS_CPP_RESOURCE_DIR "./${CPPINTEROP_LLVM_VERSION_MAJOR} " )
453
+ string (REPLACE "@" "@@" XEUS_CPP_RESOURCE_DIR "${XEUS_CPP_RESOURCE_DIR} " )
461
454
endif ()
462
455
target_link_options (xcpp
463
456
PUBLIC "SHELL: -s USE_SDL=2"
@@ -473,11 +466,6 @@ endif()
473
466
474
467
if (XEUS_CPP_BUILD_TESTS )
475
468
add_subdirectory (test )
476
- if (SYSROOT_PATH_ORIGINAL MATCHES "@" )
477
- execute_process (
478
- COMMAND ln -s ${SYSROOT_PATH_ORIGINAL} "${CMAKE_CURRENT_BINARY_DIR} /test/"
479
- )
480
- endif ()
481
469
endif ()
482
470
483
471
# Installation
You can’t perform that action at this time.
0 commit comments