From 8569cd3401a1f52971e09b481e7b754cb156ae42 Mon Sep 17 00:00:00 2001 From: Justin Smith Date: Fri, 5 Sep 2025 09:01:23 -0400 Subject: [PATCH] Fix for zig build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 06f73f5d57..9fb9886f90 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -494,7 +494,7 @@ if(GCC OR CLANG) endif() endif() - if(MINGW) + if(MINGW AND NOT CLANG) # Some MinGW compilers set _WIN32_WINNT to an older version (Windows Server 2003) # See: https://learn.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-170 # Support Windows 7 and later.