diff --git a/CMakeLists.txt b/CMakeLists.txt index 990ee60a1f..cfab6b224b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -123,7 +123,9 @@ if(NOT MSVC) -Wsign-compare -Wignored-qualifiers -Wuninitialized +if (NOT "${CMAKE_CXX_COMPILER}" MATCHES "clang++") -Wlogical-op +endif(NOT "${CMAKE_CXX_COMPILER}" MATCHES "clang++") -Wshadow -Winit-self) endif(NOT MSVC)