CMake: Define NOMINMAX on Windows

This commit is contained in:
Jonas Kvinge 2025-01-24 12:05:03 +01:00
parent e800926f57
commit a683a279f5

View File

@ -128,7 +128,10 @@ add_definitions(
)
if(WIN32)
add_definitions(-DUNICODE)
add_definitions(
-DUNICODE
-DNOMINMAX
)
endif()
if(BUILD_WERROR)