From bbed6af857ed7a688b1443396dceb7c0a2d573c5 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sat, 18 Jul 2015 11:13:11 +0200 Subject: CMake: Disable Werror in extern/libmv for now It gives issues with Glog compiled in release mode. Need to revisit the directory layout here and compiler flag, because technically libmv is now more an intern/ library and i'll actually prefer it to be covered with strict flags as well. But it's a bit tricky because of libraries which we don't maintain are in the libmv subfolder. --- extern/libmv/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'extern/libmv') diff --git a/extern/libmv/CMakeLists.txt b/extern/libmv/CMakeLists.txt index eb43285fdec..089743567f0 100644 --- a/extern/libmv/CMakeLists.txt +++ b/extern/libmv/CMakeLists.txt @@ -37,11 +37,6 @@ set(SRC libmv-capi.h ) -if(WITH_LIBMV_WERROR) - ADD_CHECK_C_COMPILER_FLAG(CMAKE_C_FLAGS C_WERROR -Werror) - ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS C_WERROR -Werror) -endif() - if(WITH_LIBMV OR WITH_GTESTS OR (WITH_CYCLES AND WITH_CYCLES_LOGGING)) list(APPEND INC third_party/gflags -- cgit v1.2.3