From 970250fc8524c474cda8f53dd5bb739a6b7a5f6c Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 16 Mar 2024 17:45:30 +0100 Subject: [PATCH] Another stupid macro needed for MSVC to not crap the pants. --- cmake/vendor.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/vendor.cmake b/cmake/vendor.cmake index b66e286d..9c565693 100644 --- a/cmake/vendor.cmake +++ b/cmake/vendor.cmake @@ -9,7 +9,7 @@ if (EXISTS ${ROOT_DIR}/vcpkg_installed/x64-windows-static/lib/pkgconfig) endif() if(WIN32) - add_definitions(-DNOMINMAX) + add_definitions(-DNOMINMAX -DWIN32_LEAN_AND_MEAN) endif() # Dependencies are taken from the system first and if not found, they are pulled with CPM and built from source