summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2015-11-20 17:53:12 +0100
committerAlexander Harkness <me@bearbin.net>2015-11-20 17:53:12 +0100
commit38a01cec753212bdcc9c0e15c21cafe61311066c (patch)
tree5c6217f489daa1d84244495ee3769b5179211b52 /SetFlags.cmake
parentMerge pull request #2663 from SafwatHalaby/minor (diff)
parentFix musl + clang 3.6 compile error (diff)
downloadcuberite-38a01cec753212bdcc9c0e15c21cafe61311066c.tar
cuberite-38a01cec753212bdcc9c0e15c21cafe61311066c.tar.gz
cuberite-38a01cec753212bdcc9c0e15c21cafe61311066c.tar.bz2
cuberite-38a01cec753212bdcc9c0e15c21cafe61311066c.tar.lz
cuberite-38a01cec753212bdcc9c0e15c21cafe61311066c.tar.xz
cuberite-38a01cec753212bdcc9c0e15c21cafe61311066c.tar.zst
cuberite-38a01cec753212bdcc9c0e15c21cafe61311066c.zip
Diffstat (limited to '')
-rw-r--r--SetFlags.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index b4c7365fe..f8335cd25 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -285,6 +285,9 @@ macro(set_exe_flags)
add_flags_cxx("-Wno-documentation-unknown-command")
endif()
endif()
+ if ("${CLANG_VERSION}" VERSION_GREATER 3.5)
+ add_flags_cxx("-Wno-error=disabled-macro-expansion")
+ endif()
endif()
endif()