We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7d3b6d commit 9e9bf41Copy full SHA for 9e9bf41
samples/inst-context/CMakeLists.txt
@@ -53,6 +53,8 @@ set (WAMR_BUILD_LIBC_BUILTIN 1)
53
54
if (NOT MSVC)
55
set (WAMR_BUILD_LIBC_WASI 1)
56
+else ()
57
+ set (WAMR_BUILD_LIBC_UVWASI 1)
58
endif ()
59
60
@@ -85,6 +87,8 @@ set_target_properties (inst-context PROPERTIES POSITION_INDEPENDENT_CODE ON)
85
87
86
88
if (APPLE)
89
target_link_libraries (inst-context vmlib -lm -ldl -lpthread)
90
+elseif (MSVC)
91
+ target_link_libraries (inst-context vmlib -lm -ldl -lpthread -lrt ${UV_A_LIBS})
92
else ()
93
target_link_libraries (inst-context vmlib -lm -ldl -lpthread -lrt)
94
0 commit comments