pineapple-src/externals/vcpkg/ports/libproxy/fix-arm-build.patch
2022-07-23 03:01:36 +02:00

14 lines
337 B
Diff
Executable file

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1c68939..9ef6895 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,6 +42,9 @@ else()
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
endif()
+if (WIN32)
+ link_libraries(Advapi32)
+endif()
# Conditionally build bindings
if(NOT WIN32)
add_subdirectory(bindings)