diff --git a/ffi/CMakeLists.txt b/ffi/CMakeLists.txt index f89d268..1ad5815 100644 --- a/ffi/CMakeLists.txt +++ b/ffi/CMakeLists.txt @@ -10,7 +10,7 @@ if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") endif () if (MSVC) - set (SYSTEM_LIBS ws2_32 Userenv bcrypt) + set (SYSTEM_LIBS ntdll ws2_32 Userenv bcrypt) endif () set (FFI_LIBRARY "${CMAKE_SOURCE_DIR}/../target/debug/${CMAKE_STATIC_LIBRARY_PREFIX}loot_condition_interpreter_ffi${CMAKE_STATIC_LIBRARY_SUFFIX}")