diff --git a/CMakeLists.txt b/CMakeLists.txt index d52754409..980e147be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -737,6 +737,7 @@ if(TARGET_OS STREQUAL "windows") list(APPEND PLATFORM_LIBS bcrypt userenv) # for Rust (https://github.com/rust-lang/rust/issues/91974) list(APPEND PLATFORM_LIBS ole32) # CoInitialize(Ex) list(APPEND PLATFORM_LIBS shell32) + list(APPEND PLATFORM_LIBS ntdll) # https://github.com/ddnet/ddnet/issues/6725 elseif(TARGET_OS STREQUAL "mac") find_library(CARBON Carbon) find_library(COCOA Cocoa)