diff options
author | worktycho <work.tycho@gmail.com> | 2015-06-21 13:08:34 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2015-06-21 13:08:34 +0200 |
commit | 0096327c4ff8f69755a0ca438fcd08171e68c5d7 (patch) | |
tree | 7400062806953c5fc1d8abd3ab9eaa74800d4872 /tests | |
parent | Merge pull request #2255 from cuberite/LoadablePieces (diff) | |
parent | Added basic support for loading village prefabs from files. (diff) | |
download | cuberite-0096327c4ff8f69755a0ca438fcd08171e68c5d7.tar cuberite-0096327c4ff8f69755a0ca438fcd08171e68c5d7.tar.gz cuberite-0096327c4ff8f69755a0ca438fcd08171e68c5d7.tar.bz2 cuberite-0096327c4ff8f69755a0ca438fcd08171e68c5d7.tar.lz cuberite-0096327c4ff8f69755a0ca438fcd08171e68c5d7.tar.xz cuberite-0096327c4ff8f69755a0ca438fcd08171e68c5d7.tar.zst cuberite-0096327c4ff8f69755a0ca438fcd08171e68c5d7.zip |
Diffstat (limited to 'tests')
-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() |