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)