summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2013-01-29 13:59:03 -0600
committerRyan Houdek <Sonicadvance1@gmail.com>2013-01-29 13:59:03 -0600
commit75f2ba14b4cb165dc313caeb3845692d1e91b258 (patch)
treeb21fbfffb902494f59cb58e381e2ca0c38dfe150
parent65dea7da367259ef392482312c50947025ef9126 (diff)
Hey Parlane. Fixed it.
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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