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 77d0185 commit f3ac913Copy full SHA for f3ac913
cmake/ProjectUVWASI.cmake
@@ -12,6 +12,14 @@ set(include_dir ${source_dir}/include)
12
set(uvwasi_library ${binary_dir}/${CMAKE_STATIC_LIBRARY_PREFIX}uvwasi_a${CMAKE_STATIC_LIBRARY_SUFFIX})
13
set(uv_library ${binary_dir}/_deps/libuv-build/${CMAKE_STATIC_LIBRARY_PREFIX}uv_a${CMAKE_STATIC_LIBRARY_SUFFIX})
14
15
+# This is hack. Should fix proper uvwasi.cmake integration.
16
+if(WIN32)
17
+ list(APPEND uv_library iphlpapi)
18
+ list(APPEND uv_library userenv)
19
+ list(APPEND uv_library psapi)
20
+ list(APPEND uv_library ws2_32)
21
+endif()
22
+
23
if(UNIX AND NOT APPLE)
24
set(system_libs "pthread;dl;rt")
25
endif()
0 commit comments