diff options
author | Mattes D <github@xoft.cz> | 2016-12-15 20:21:43 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-12-16 00:07:22 +0100 |
commit | 0e3b3be7662f03b7487408f70548eaca1188da3d (patch) | |
tree | 3751d17812c46e5847684d8f968f24c4a4e268d2 /src/Protocol/CMakeLists.txt | |
parent | APIDump: Load the official undocumented from alternate location. (diff) | |
download | cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.gz cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.bz2 cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.lz cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.xz cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.zst cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/CMakeLists.txt | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/Protocol/CMakeLists.txt b/src/Protocol/CMakeLists.txt index 13afb76f4..e8e485ddf 100644 --- a/src/Protocol/CMakeLists.txt +++ b/src/Protocol/CMakeLists.txt @@ -7,9 +7,10 @@ SET (SRCS ChunkDataSerializer.cpp MojangAPI.cpp Packetizer.cpp - Protocol18x.cpp - Protocol19x.cpp - Protocol110x.cpp + Protocol_1_8.cpp + Protocol_1_9.cpp + Protocol_1_10.cpp + Protocol_1_11.cpp ProtocolRecognizer.cpp ) @@ -19,16 +20,17 @@ SET (HDRS MojangAPI.h Packetizer.h Protocol.h - Protocol18x.h - Protocol19x.h - Protocol110x.h + Protocol_1_8.h + Protocol_1_9.h + Protocol_1_10.h + Protocol_1_11.h ProtocolRecognizer.h ) if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") - set_source_files_properties(Protocol19x.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch-enum -Wno-error=switch") - set_source_files_properties(Protocol18x.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch-enum -Wno-error=switch") - set_source_files_properties(Protocol110x.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch") + 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_10.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch") endif() if (NOT MSVC) |