aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler/clang/settings.cmake
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-01-01 00:26:53 +0100
committerShauren <shauren.trinity@gmail.com>2023-01-01 00:26:53 +0100
commit0a1b40241a12b2b2f4549edf0ee263e91236145b (patch)
treed075da74ba9db89cfbaa83ffef8541ebcc687adb /cmake/compiler/clang/settings.cmake
parentba9bbbc9d0c3b80d8954ad6390d23ae3d0f804b2 (diff)
Build: Update required compilers to current debian stable and VS 2022
GCC: 10 Clang: 11 MSVC: 2022
Diffstat (limited to 'cmake/compiler/clang/settings.cmake')
-rw-r--r--cmake/compiler/clang/settings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/compiler/clang/settings.cmake b/cmake/compiler/clang/settings.cmake
index 1f11cb4112e..f6e95030b57 100644
--- a/cmake/compiler/clang/settings.cmake
+++ b/cmake/compiler/clang/settings.cmake
@@ -5,7 +5,7 @@ target_compile_definitions(trinity-compile-option-interface
INTERFACE
-D_BUILD_DIRECTIVE="$<CONFIG>")
-set(CLANG_EXPECTED_VERSION 7.0.0)
+set(CLANG_EXPECTED_VERSION 11.0.0)
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS CLANG_EXPECTED_VERSION)
message(FATAL_ERROR "Clang: TrinityCore requires version ${CLANG_EXPECTED_VERSION} to build but found ${CMAKE_CXX_COMPILER_VERSION}")