diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-18 12:13:11 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-18 12:16:25 +0300 |
commit | bbed6af857ed7a688b1443396dceb7c0a2d573c5 (patch) | |
tree | 1a90d9885b5ea5c284ba5353f58e3491824776cc /extern | |
parent | ecb3e0fe737c24e62add99f3fa39e305f5d66af2 (diff) |
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.
Diffstat (limited to 'extern')
-rw-r--r-- | extern/libmv/CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
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 |