mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 03:32:28 -04:00
Build: Enable C++20
This commit is contained in:
@@ -12,14 +12,14 @@
|
|||||||
add_library(trinity-compile-option-interface INTERFACE)
|
add_library(trinity-compile-option-interface INTERFACE)
|
||||||
|
|
||||||
# Use -std=c++11 instead of -std=gnu++11
|
# Use -std=c++11 instead of -std=gnu++11
|
||||||
set(CXX_EXTENSIONS OFF)
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
|
||||||
# An interface library to make the target features available to other targets
|
# An interface library to make the target features available to other targets
|
||||||
add_library(trinity-feature-interface INTERFACE)
|
add_library(trinity-feature-interface INTERFACE)
|
||||||
|
|
||||||
target_compile_features(trinity-feature-interface
|
target_compile_features(trinity-feature-interface
|
||||||
INTERFACE
|
INTERFACE
|
||||||
cxx_std_17)
|
cxx_std_20)
|
||||||
|
|
||||||
# An interface library to make the warnings level available to other targets
|
# An interface library to make the warnings level available to other targets
|
||||||
# This interface taget is set-up through the platform specific script
|
# This interface taget is set-up through the platform specific script
|
||||||
|
|||||||
Reference in New Issue
Block a user