summaryrefslogtreecommitdiffstats
path: root/tests/Network
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-24 16:22:55 +0200
committertycho <work.tycho@gmail.com>2015-05-24 16:22:55 +0200
commit51b4584b425bbc9c96b4967b9391479768d3cb28 (patch)
tree0ee0c3a36aded3ab32a45ed3267ecc1e89a2a060 /tests/Network
parentFix comments (diff)
downloadcuberite-51b4584b425bbc9c96b4967b9391479768d3cb28.tar
cuberite-51b4584b425bbc9c96b4967b9391479768d3cb28.tar.gz
cuberite-51b4584b425bbc9c96b4967b9391479768d3cb28.tar.bz2
cuberite-51b4584b425bbc9c96b4967b9391479768d3cb28.tar.lz
cuberite-51b4584b425bbc9c96b4967b9391479768d3cb28.tar.xz
cuberite-51b4584b425bbc9c96b4967b9391479768d3cb28.tar.zst
cuberite-51b4584b425bbc9c96b4967b9391479768d3cb28.zip
Diffstat (limited to 'tests/Network')
-rw-r--r--tests/Network/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Network/CMakeLists.txt b/tests/Network/CMakeLists.txt
index 9ba5801f4..f93ccad8e 100644
--- a/tests/Network/CMakeLists.txt
+++ b/tests/Network/CMakeLists.txt
@@ -42,7 +42,10 @@ if (MSVC)
endif()
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
- add_flags_cxx("-Wno-error=conversion -Wno-error=old-style-cast -Wno-error=inconsistent-missing-override")
+ add_flags_cxx("-Wno-error=conversion -Wno-error=old-style-cast")
+ if ("${CLANG_VERSION}" VERSION_GREATER 3.5)
+ add_flags_cxx("-Wno-error=inconsistent-missing-override")
+ endif()
endif()
# Define individual tests: