feat(Cmake/Compiler): deprecated clang6 and gcc 7 (#5671)

This commit is contained in:
Kargatum
2021-05-17 06:50:03 +07:00
committed by GitHub
parent ea2e606b13
commit d0a259d6ee
6 changed files with 13 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ target_compile_definitions(acore-compile-option-interface
INTERFACE
-D_BUILD_DIRECTIVE="${CMAKE_BUILD_TYPE}")
set(CLANG_EXPECTED_VERSION 6.0.0)
set(CLANG_EXPECTED_VERSION 7.0.0)
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS CLANG_EXPECTED_VERSION)
message(FATAL_ERROR "Clang: AzerothCore requires version ${CLANG_EXPECTED_VERSION} to build but found ${CMAKE_CXX_COMPILER_VERSION}")