mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Build system: Set -Wno-deprecated-copy only for clang 10
This commit is contained in:
@@ -12,8 +12,13 @@ if(WITH_WARNINGS)
|
||||
-Winit-self
|
||||
-Wfatal-errors
|
||||
-Wno-mismatched-tags
|
||||
-Woverloaded-virtual
|
||||
-Wno-deprecated-copy) # warning in g3d
|
||||
-Woverloaded-virtual)
|
||||
|
||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 10)
|
||||
target_compile_options(trinity-warning-interface
|
||||
INTERFACE
|
||||
-Wno-deprecated-copy) # warning in g3d
|
||||
endif()
|
||||
|
||||
message(STATUS "Clang: All warnings enabled")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user