blob: c334b8b99a64769e5d2abc25745f945174eb0715 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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)
|