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
25
25
26
26
if (EMSCRIPTEN )
27
27
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} " )
32
29
endif ()
33
30
# Explanation of Emscripten-specific link flags for CppInterOpTests:
34
31
#
@@ -104,10 +101,7 @@ target_link_libraries(DynamicLibraryManagerTests
104
101
if (EMSCRIPTEN )
105
102
set (TEST_SHARED_LIBRARY_PATH "${CMAKE_CURRENT_BINARY_DIR} /TestSharedLib/unittests/bin/Release/" )
106
103
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} " )
111
105
endif ()
112
106
# Check explanation of Emscripten-specific link flags for CppInterOpTests above for DynamicLibraryManagerTests as well.
113
107
target_link_options (DynamicLibraryManagerTests
You can’t perform that action at this time.
0 commit comments