CMake: Define NOMINMAX on Windows
This commit is contained in:
parent
e800926f57
commit
a683a279f5
@ -128,7 +128,10 @@ add_definitions(
|
|||||||
)
|
)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
add_definitions(-DUNICODE)
|
add_definitions(
|
||||||
|
-DUNICODE
|
||||||
|
-DNOMINMAX
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(BUILD_WERROR)
|
if(BUILD_WERROR)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user