windows-amd64-prebuilt-libr.../vcpkg/ports/libproxy/fix-arm-build.patch
2020-10-10 14:36:42 +02:00

16 lines
299 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 51b0e5e..aa94b87 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,6 +51,10 @@ else()
endif()
endif()
+if (WIN32)
+ link_libraries(Advapi32)
+endif()
+
# Conditionally build bindings
if(NOT WIN32)
add_subdirectory(bindings)