From 722b1bfa6e1548b2a56866493c6772df49f87978 Mon Sep 17 00:00:00 2001 From: Martin Olivier Date: Sun, 21 Jul 2024 21:12:16 +0200 Subject: [PATCH] fix: mingw build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ffc4837..ed002a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ set(SOURCES src/dylib.cpp) if(APPLE) list(APPEND SOURCES src/mac.cpp src/unix.cpp) -elseif(WIN32) +elseif(WIN32 AND NOT MINGW) list(APPEND SOURCES src/win.cpp) else() list(APPEND SOURCES src/linux.cpp src/unix.cpp)