aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Alessandro Locati <me@fale.io>2017-02-25 18:21:55 +0000
committerFabio Alessandro Locati <me@fale.io>2017-02-25 18:21:55 +0000
commit6800c60d4b99cde8271992fc24063d7279d1013c (patch)
tree733cfc953377190b0e9b6e086ca3b6df4c297784
parente1ff88a8d262876e9bc4659fd0a71e88f316047c (diff)
downloadsway-6800c60d4b99cde8271992fc24063d7279d1013c.tar.xz
Ignore Wimplicit-fallthrough
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 74c79075..f5faba96 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,6 +14,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wimplicit-fallthrough=0")
list(INSERT CMAKE_MODULE_PATH 0
${CMAKE_CURRENT_SOURCE_DIR}/CMake