[Bf-blender-cvs] [bbed6af] master: CMake: Disable Werror in extern/libmv for now

Sergey Sharybin noreply at git.blender.org
Sat Jul 18 11:16:37 CEST 2015


Commit: bbed6af857ed7a688b1443396dceb7c0a2d573c5
Author: Sergey Sharybin
Date:   Sat Jul 18 11:13:11 2015 +0200
Branches: master
https://developer.blender.org/rBbbed6af857ed7a688b1443396dceb7c0a2d573c5

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.

===================================================================

M	extern/libmv/CMakeLists.txt

===================================================================

diff --git a/extern/libmv/CMakeLists.txt b/extern/libmv/CMakeLists.txt
index eb43285..0897435 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




More information about the Bf-blender-cvs mailing list