From 75f2ba14b4cb165dc313caeb3845692d1e91b258 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Tue, 29 Jan 2013 13:59:03 -0600 Subject: [PATCH] Hey Parlane. Fixed it. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 634709dbb3..77c4d5b114 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,6 +125,9 @@ if(NOT MSVC) -Wuninitialized -Wshadow -Winit-self) + if (NOT (${CMAKE_C_COMPILER} MATCHES "clang")) + -Wlogical-op + endif() endif(NOT MSVC) # gcc uses some optimizations which might break stuff without this flag