diff options
author | Pokechu22 <pokechu022@gmail.com> | 2017-03-03 10:59:17 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2017-03-03 10:59:17 +0100 |
commit | 19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86 (patch) | |
tree | 632d6a28faa1d0563e1e351177ecb02308faed0e /src/Protocol/CMakeLists.txt | |
parent | Added missing IsStatic flag to functions. (#3613) (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Protocol/CMakeLists.txt | 5 |
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) |