From c32eda1f20128b8bd19e7f16847b55111ecd8fb6 Mon Sep 17 00:00:00 2001 From: Diego Magdaleno <38844659+DiegoMagdaleno@users.noreply.github.com> Date: Sat, 2 Dec 2023 14:51:53 -0600 Subject: [PATCH] [CMake] Also include ntdll.lib on Windows This should fix the error: `RtlIpv6AddressToStringExA --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3eb435fa..4f977578 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,7 +65,7 @@ ENDIF() # Set some Windows specific flags IF(WIN32) # We need to link against these libs - SET(LIBTINS_OS_LIBS Ws2_32.lib Iphlpapi.lib) + SET(LIBTINS_OS_LIBS Ws2_32.lib Iphlpapi.lib ntdll.lib) # Add the NOMINMAX macro to avoid Windows' min and max macros. ADD_DEFINITIONS(-DNOMINMAX)