summaryrefslogtreecommitdiffstats
path: root/tests/Network/CMakeLists.txt
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-23 13:59:41 +0200
committertycho <work.tycho@gmail.com>2015-05-23 14:21:02 +0200
commita5624debcb15f5edadeb598d86b4b8ee738d03bd (patch)
treede7e37a2405d004830c418e96910b4dd483c4866 /tests/Network/CMakeLists.txt
parentDisable warnings in MCADefrag, ProtoProxy and tests (diff)
downloadcuberite-a5624debcb15f5edadeb598d86b4b8ee738d03bd.tar
cuberite-a5624debcb15f5edadeb598d86b4b8ee738d03bd.tar.gz
cuberite-a5624debcb15f5edadeb598d86b4b8ee738d03bd.tar.bz2
cuberite-a5624debcb15f5edadeb598d86b4b8ee738d03bd.tar.lz
cuberite-a5624debcb15f5edadeb598d86b4b8ee738d03bd.tar.xz
cuberite-a5624debcb15f5edadeb598d86b4b8ee738d03bd.tar.zst
cuberite-a5624debcb15f5edadeb598d86b4b8ee738d03bd.zip
Diffstat (limited to 'tests/Network/CMakeLists.txt')
-rw-r--r--tests/Network/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Network/CMakeLists.txt b/tests/Network/CMakeLists.txt
index c0af50e2c..7412b16ad 100644
--- a/tests/Network/CMakeLists.txt
+++ b/tests/Network/CMakeLists.txt
@@ -41,8 +41,9 @@ if (MSVC)
target_link_libraries(Network ws2_32.lib)
endif()
-
-
+if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
+ add_flags_cxx("-Wno-error=conversion")
+endif()
# Define individual tests: