2
0
Эх сурвалжийг харах

export uv functions in the cmake build config

Andy Li 6 жил өмнө
parent
commit
663e0eda71

+ 5 - 0
libs/uv/CMakeLists.txt

@@ -55,6 +55,11 @@ if(WIN32)
         iphlpapi
         userenv
     )
+    target_compile_definitions(uv.hdll
+        PRIVATE
+        UV_EXPORTS
+        BUILDING_UV_SHARED
+    )
 else()
     target_include_directories(uv.hdll
         PRIVATE