mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
Core/Tools: Fix compilation of tools under windows (#312)
This commit is contained in:
@@ -42,6 +42,10 @@ message(STATUS "MSVC: Disabled NON-SECURE warnings")
|
||||
add_definitions(-D_CRT_NONSTDC_NO_WARNINGS)
|
||||
message(STATUS "MSVC: Disabled POSIX warnings")
|
||||
|
||||
#Ignore warnings about INTMAX_MAX
|
||||
add_definitions(-D__STDC_LIMIT_MACROS)
|
||||
message(STATUS "MSVC: Disabled INTMAX_MAX warnings")
|
||||
|
||||
# disable warnings in Visual Studio 8 and above if not wanted
|
||||
if(NOT WITH_WARNINGS)
|
||||
if(MSVC AND NOT CMAKE_GENERATOR MATCHES "Visual Studio 7")
|
||||
|
||||
Reference in New Issue
Block a user