Build/GCC: Raise required version to 8.3.0 (#25297)

Even when building with Clang, make sure to have libstdc++ >= 8

(cherry picked from commit 41d70a5905c152d26217cc152a1748c337cfd81e)
This commit is contained in:
Giacomo Pozzoni
2022-02-04 00:27:11 +01:00
committed by Shauren
parent 6303fbc449
commit f8b6137a4c
+1 -1
View File
@@ -3,7 +3,7 @@ target_compile_definitions(trinity-compile-option-interface
INTERFACE
-D_BUILD_DIRECTIVE="$<CONFIG>")
set(GCC_EXPECTED_VERSION 7.1.0)
set(GCC_EXPECTED_VERSION 8.3.0)
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS GCC_EXPECTED_VERSION)
message(FATAL_ERROR "GCC: TrinityCore requires version ${GCC_EXPECTED_VERSION} to build but found ${CMAKE_CXX_COMPILER_VERSION}")