mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:54:17 +08:00
16 lines
299 B
Diff
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)
|