Another stupid macro needed for MSVC to not crap the pants.

This commit is contained in:
Bartosz Taudul 2024-03-16 17:45:30 +01:00
parent 1bada6a6fd
commit 970250fc85
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -9,7 +9,7 @@ if (EXISTS ${ROOT_DIR}/vcpkg_installed/x64-windows-static/lib/pkgconfig)
endif() endif()
if(WIN32) if(WIN32)
add_definitions(-DNOMINMAX) add_definitions(-DNOMINMAX -DWIN32_LEAN_AND_MEAN)
endif() endif()
# Dependencies are taken from the system first and if not found, they are pulled with CPM and built from source # Dependencies are taken from the system first and if not found, they are pulled with CPM and built from source