Define 'NOMINMAX' if compiler is Visual Studio

This commit is contained in:
relesgoe 2020-05-20 00:00:48 -07:00
parent c7b9707a7f
commit 4a1b395110

View file

@ -56,6 +56,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
-D_CRT_NONSTDC_NO_DEPRECATE
-DUNICODE
-D_UNICODE
-DNOMINMAX
)
# DEBUG compiler flags: