summaryrefslogtreecommitdiffstats
path: root/src/Protocol/CMakeLists.txt
diff options
context:
space:
mode:
authorPokechu22 <pokechu022@gmail.com>2017-03-03 10:59:17 +0100
committerMattes D <github@xoft.cz>2017-03-03 10:59:17 +0100
commit19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86 (patch)
tree632d6a28faa1d0563e1e351177ecb02308faed0e /src/Protocol/CMakeLists.txt
parentAdded missing IsStatic flag to functions. (#3613) (diff)
downloadcuberite-19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86.tar
cuberite-19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86.tar.gz
cuberite-19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86.tar.bz2
cuberite-19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86.tar.lz
cuberite-19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86.tar.xz
cuberite-19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86.tar.zst
cuberite-19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86.zip
Diffstat (limited to 'src/Protocol/CMakeLists.txt')
-rw-r--r--src/Protocol/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Protocol/CMakeLists.txt b/src/Protocol/CMakeLists.txt
index e8e485ddf..dd24c710a 100644
--- a/src/Protocol/CMakeLists.txt
+++ b/src/Protocol/CMakeLists.txt
@@ -28,9 +28,10 @@ SET (HDRS
)
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
- set_source_files_properties(Protocol_1_9.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch-enum -Wno-error=switch")
- set_source_files_properties(Protocol_1_8.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch-enum -Wno-error=switch")
+ set_source_files_properties(Protocol_1_9.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch")
+ set_source_files_properties(Protocol_1_8.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch")
set_source_files_properties(Protocol_1_10.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch")
+ set_source_files_properties(Protocol_1_11.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch")
endif()
if (NOT MSVC)