Browse Source

Merge pull request #1972 from Vort/nominmax

Fix MSVC compilation for std::max
pull/1977/head
orignal 1 year ago committed by GitHub
parent
commit
0dee0609ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      build/CMakeLists.txt

2
build/CMakeLists.txt

@ -121,7 +121,7 @@ if(WIN32)
) )
file(GLOB WIN32_RC ${WIN32_SRC_DIR}/*.rc) 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() endif()

Loading…
Cancel
Save