mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-13 01:20:22 +03:00
Fix MSVC compilation for std::max
This commit is contained in:
parent
0cc91dd2d2
commit
0a519d8072
@ -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…
Reference in New Issue
Block a user