feat(Core): deprecate clang-9 and older (#6406)

This commit is contained in:
Francesco Borzì
2021-06-17 18:30:15 +02:00
committed by GitHub
parent f8cf8b43ee
commit 67b84e0c1e
5 changed files with 3 additions and 49 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 7.0.0)
set(CLANG_EXPECTED_VERSION 10.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}")