summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2015-05-23 13:56:08 +0200
committerLukas Pioch <lukas@zgow.de>2015-05-23 16:28:37 +0200
commite30b2ed487b4a676eff98fcd6118e0837de204e3 (patch)
treef258bae1dce1ca418a14ae0d30f1bbd6740f0437 /SetFlags.cmake
parentMerge pull request #2108 from mc-server/tgh-boolean (diff)
downloadcuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar
cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar.gz
cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar.bz2
cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar.lz
cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar.xz
cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar.zst
cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.zip
Diffstat (limited to '')
-rw-r--r--SetFlags.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 0d1bd99b3..b05585f7d 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -263,6 +263,10 @@ macro(set_exe_flags)
# flags introduced in 3.2
add_flags_cxx("-Wno-documentation")
endif()
+ if ("${CLANG_VERSION}" VERSION_GREATER 3.5)
+ # Use this flag to ignore error for a reserved macro problem in sqlite 3
+ add_flags_cxx("-Wno-reserved-id-macro")
+ endif()
endif()
endif()