diff options
author | Mattes D <github@xoft.cz> | 2015-06-20 15:37:41 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-06-20 15:37:41 +0200 |
commit | e06dd8f20ec3e6817e5638d5101cb8dc776846b4 (patch) | |
tree | 7400062806953c5fc1d8abd3ab9eaa74800d4872 /tests/LoadablePieces/CMakeLists.txt | |
parent | Merge pull request #2255 from cuberite/LoadablePieces (diff) | |
download | cuberite-e06dd8f20ec3e6817e5638d5101cb8dc776846b4.tar cuberite-e06dd8f20ec3e6817e5638d5101cb8dc776846b4.tar.gz cuberite-e06dd8f20ec3e6817e5638d5101cb8dc776846b4.tar.bz2 cuberite-e06dd8f20ec3e6817e5638d5101cb8dc776846b4.tar.lz cuberite-e06dd8f20ec3e6817e5638d5101cb8dc776846b4.tar.xz cuberite-e06dd8f20ec3e6817e5638d5101cb8dc776846b4.tar.zst cuberite-e06dd8f20ec3e6817e5638d5101cb8dc776846b4.zip |
Diffstat (limited to '')
-rw-r--r-- | tests/LoadablePieces/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/LoadablePieces/CMakeLists.txt b/tests/LoadablePieces/CMakeLists.txt index 74429ea9d..4b3c0ab13 100644 --- a/tests/LoadablePieces/CMakeLists.txt +++ b/tests/LoadablePieces/CMakeLists.txt @@ -9,6 +9,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}) add_definitions(-DTEST_GLOBALS=1) set (SHARED_SRCS + ${CMAKE_SOURCE_DIR}/src/BiomeDef.cpp ${CMAKE_SOURCE_DIR}/src/BlockArea.cpp ${CMAKE_SOURCE_DIR}/src/Cuboid.cpp ${CMAKE_SOURCE_DIR}/src/ChunkData.cpp @@ -35,6 +36,7 @@ set (SHARED_SRCS ) set (SHARED_HDRS + ${CMAKE_SOURCE_DIR}/src/BiomeDef.h ${CMAKE_SOURCE_DIR}/src/BlockArea.h ${CMAKE_SOURCE_DIR}/src/Cuboid.h ${CMAKE_SOURCE_DIR}/src/ChunkData.h @@ -73,6 +75,7 @@ set (SRCS if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") add_flags_cxx("-Wno-error=conversion -Wno-error=old-style-cast") add_flags_cxx("-Wno-error=global-constructors") + add_flags_cxx("-Wno-error=switch-enum") endif() |