Define 'NOMINMAX' if compiler is Visual Studio
This commit is contained in:
parent
c7b9707a7f
commit
4a1b395110
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
|||
-D_CRT_NONSTDC_NO_DEPRECATE
|
||||
-DUNICODE
|
||||
-D_UNICODE
|
||||
-DNOMINMAX
|
||||
)
|
||||
|
||||
# DEBUG compiler flags:
|
||||
|
|
Loading…
Reference in a new issue