From 804805d35a87c2acc9425d1762ad26b1ba2ec9ac Mon Sep 17 00:00:00 2001 From: Samuel Barney Date: Wed, 29 Jul 2015 09:04:03 -0600 Subject: Silenced and fixed many warning messages across multiple files. --- src/Blocks/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/Blocks/CMakeLists.txt') diff --git a/src/Blocks/CMakeLists.txt b/src/Blocks/CMakeLists.txt index d8affd9cf..ed3e321d4 100644 --- a/src/Blocks/CMakeLists.txt +++ b/src/Blocks/CMakeLists.txt @@ -95,11 +95,6 @@ SET (HDRS MetaRotator.h WorldInterface.h) -if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") - set_source_files_properties(BlockHandler.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=old-style-cast") - set_source_files_properties(BlockPiston.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=old-style-cast") -endif() - if(NOT MSVC) add_library(Blocks ${SRCS} ${HDRS}) endif() -- cgit v1.2.3