mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
CMake: Disable Clang warning inconsistent-missing-override
This commit is contained in:
parent
1367d827d5
commit
2880b24116
1 changed files with 3 additions and 0 deletions
|
|
@ -20,6 +20,9 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang"
|
|||
if(TURTLE_CXX_UNUSED_FUNCTION)
|
||||
target_compile_options(TurtleTestMain INTERFACE -Wno-unused-function)
|
||||
endif()
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
target_compile_options(TurtleTestMain INTERFACE -Wno-inconsistent-missing-override)
|
||||
endif()
|
||||
if(TURTLE_WERROR)
|
||||
check_cxx_compiler_flag(-Wdeprecated-declarations TURTLE_CXX_DEPRECATED_DECLARATIONS)
|
||||
if(TURTLE_CXX_DEPRECATED_DECLARATIONS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue