Browse Source

Fix MSVC compilation for std::max

pull/1972/head
Vort 1 year ago
parent
commit
0a519d8072
  1. 2
      build/CMakeLists.txt

2
build/CMakeLists.txt

@ -121,7 +121,7 @@ if(WIN32) @@ -121,7 +121,7 @@ if(WIN32)
)
file(GLOB WIN32_RC ${WIN32_SRC_DIR}/*.rc)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DWIN32_APP -DWIN32_LEAN_AND_MEAN")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DWIN32_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX")
endif()

Loading…
Cancel
Save