forked from bartvdbraak/blender
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.
This commit is contained in:
parent
ecb3e0fe73
commit
bbed6af857
5
extern/libmv/CMakeLists.txt
vendored
5
extern/libmv/CMakeLists.txt
vendored
@ -37,11 +37,6 @@ set(SRC
|
|||||||
libmv-capi.h
|
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))
|
if(WITH_LIBMV OR WITH_GTESTS OR (WITH_CYCLES AND WITH_CYCLES_LOGGING))
|
||||||
list(APPEND INC
|
list(APPEND INC
|
||||||
third_party/gflags
|
third_party/gflags
|
||||||
|
Loading…
Reference in New Issue
Block a user