diff --git a/dbms/CMakeLists.txt b/dbms/CMakeLists.txt index 5864f985635..8e1b31bae33 100644 --- a/dbms/CMakeLists.txt +++ b/dbms/CMakeLists.txt @@ -28,7 +28,7 @@ if (NOT NO_WERROR) endif () if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra-semi -Wredundant-parens -Wcomma") + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra-semi -Wredundant-parens -Wcomma -Winconsistent-missing-destructor-override") endif () find_package (Threads)