summaryrefslogtreecommitdiffstats
path: root/src/Bindings/CMakeLists.txt
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2018-04-27 23:22:41 +0200
committerMattes D <github@xoft.cz>2018-04-27 23:22:41 +0200
commit86a8fdf3fe0e4f21d49053acf29410346f247fab (patch)
tree8d760a80ec3b86f6a2b0b8c8f6108485e3ee2483 /src/Bindings/CMakeLists.txt
parentFix fishing timer (#4217) (diff)
downloadcuberite-86a8fdf3fe0e4f21d49053acf29410346f247fab.tar
cuberite-86a8fdf3fe0e4f21d49053acf29410346f247fab.tar.gz
cuberite-86a8fdf3fe0e4f21d49053acf29410346f247fab.tar.bz2
cuberite-86a8fdf3fe0e4f21d49053acf29410346f247fab.tar.lz
cuberite-86a8fdf3fe0e4f21d49053acf29410346f247fab.tar.xz
cuberite-86a8fdf3fe0e4f21d49053acf29410346f247fab.tar.zst
cuberite-86a8fdf3fe0e4f21d49053acf29410346f247fab.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Bindings/CMakeLists.txt b/src/Bindings/CMakeLists.txt
index 7aaa5f3a6..2d1d4d57c 100644
--- a/src/Bindings/CMakeLists.txt
+++ b/src/Bindings/CMakeLists.txt
@@ -168,10 +168,7 @@ set_source_files_properties(${BINDING_OUTPUTS} PROPERTIES GENERATED TRUE)
set_source_files_properties(${CMAKE_SOURCE_DIR}/src/Bindings/Bindings.cpp PROPERTIES COMPILE_FLAGS -Wno-error)
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
- if(NOT APPLE AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5) # Workaround for VERSION_GREATER_EQUAL, which is only supported on CMake 3.7+
- set(ADDITIONAL_FLAGS "-Wno-zero-as-null-pointer-constant")
- endif()
- set_source_files_properties(Bindings.cpp PROPERTIES COMPILE_FLAGS "-Wno-old-style-cast -Wno-missing-prototypes ${ADDITIONAL_FLAGS}")
+ set_source_files_properties(Bindings.cpp PROPERTIES COMPILE_FLAGS "-Wno-old-style-cast -Wno-missing-prototypes")
endif()
if(NOT MSVC)