From fef53c74b5520fe6404d581a3c15fad4177f29b7 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sat, 30 Jan 2016 00:04:52 +0100 Subject: CMake: Remove per-module Werror settings Seems i was the only one who was really up to using it and i do have gcc-5 finally backported and installed here so such a fine-tune flags are no longer needed. --- source/blender/blenkernel/CMakeLists.txt | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'source/blender/blenkernel') diff --git a/source/blender/blenkernel/CMakeLists.txt b/source/blender/blenkernel/CMakeLists.txt index b0a105bb910..7177ddc3e6d 100644 --- a/source/blender/blenkernel/CMakeLists.txt +++ b/source/blender/blenkernel/CMakeLists.txt @@ -470,20 +470,6 @@ if(WITH_LIBMV) add_definitions(-DWITH_LIBMV) endif() -if(WITH_LIBMV_WERROR) - if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang") - set_source_files_properties(intern/tracking.c - intern/tracking_auto.c - intern/tracking_detect.c - intern/tracking_plane_tracker.c - intern/tracking_region_tracker.c - intern/tracking_solver.c - intern/tracking_stabilize.c - intern/tracking_util.c - PROPERTIES COMPILE_FLAGS -Werror) - endif() -endif() - if(WITH_FFTW3) list(APPEND INC_SYS ${FFTW3_INCLUDE_DIRS} @@ -505,16 +491,6 @@ if(WITH_OPENSUBDIV) ../../../intern/opensubdiv ${OPENSUBDIV_INCLUDE_DIRS} ) - if(WITH_SUBSURF_WERROR) - if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang") - set_source_files_properties(intern/CCGSubSurf.c - intern/CCGSubSurf_legacy.c - intern/CCGSubSurf_opensubdiv.c - intern/CCGSubSurf_opensubdiv_converter.c - intern/CCGSubSurf_util.c - PROPERTIES COMPILE_FLAGS -Werror) - endif() - endif() endif() if(WITH_OPENVDB) -- cgit v1.2.3