File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,7 @@ add_cppinterop_unittest(CppInterOpTests
2525
2626if (EMSCRIPTEN)
2727 if (SYSROOT_PATH MATCHES "@" )
28- execute_process (
29- COMMAND ln -s ${SYSROOT_PATH} ${CMAKE_CURRENT_BINARY_DIR}
30- )
31- set (SYSROOT_PATH "./sysroot/" )
28+ string (REPLACE "@" "@@" SYSROOT_PATH "${SYSROOT_PATH} " )
3229 endif ()
3330 # Explanation of Emscripten-specific link flags for CppInterOpTests:
3431 #
@@ -104,10 +101,7 @@ target_link_libraries(DynamicLibraryManagerTests
104101if (EMSCRIPTEN)
105102 set (TEST_SHARED_LIBRARY_PATH "${CMAKE_CURRENT_BINARY_DIR} /TestSharedLib/unittests/bin/Release/" )
106103 if (TEST_SHARED_LIBRARY_PATH MATCHES "@" )
107- execute_process (
108- COMMAND ln -s ${TEST_SHARED_LIBRARY_PATH} ${CMAKE_CURRENT_BINARY_DIR}
109- )
110- set (TEST_SHARED_LIBRARY_PATH "./Release/" )
104+ string (REPLACE "@" "@@" TEST_SHARED_LIBRARY_PATH "${TEST_SHARED_LIBRARY_PATH} " )
111105 endif ()
112106 # Check explanation of Emscripten-specific link flags for CppInterOpTests above for DynamicLibraryManagerTests as well.
113107 target_link_options (DynamicLibraryManagerTests
You can’t perform that action at this time.
0 commit comments