mirror of
https://github.com/loot/loot-condition-interpreter.git
synced 2026-07-27 14:16:09 -07:00
Fix Windows FFI build
Looks like the Rust standard library now links against ntdll too.
This commit is contained in:
+1
-1
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user