forked from bartvdbraak/blender
Libmv: Fix warning about unused parameter in Ceres
Ceres is an external library, so consider it a system header which makes it so all strict flags are properly ignored for them.
This commit is contained in:
parent
f26e267770
commit
92083772e7
@ -51,8 +51,6 @@ if(WITH_LIBMV)
|
||||
list(APPEND INC
|
||||
${GFLAGS_INCLUDE_DIRS}
|
||||
${GLOG_INCLUDE_DIRS}
|
||||
../../extern/ceres/include
|
||||
../../extern/ceres/config
|
||||
../guardedalloc
|
||||
)
|
||||
|
||||
@ -60,6 +58,8 @@ if(WITH_LIBMV)
|
||||
${EIGEN3_INCLUDE_DIRS}
|
||||
${PNG_INCLUDE_DIRS}
|
||||
${ZLIB_INCLUDE_DIRS}
|
||||
../../extern/ceres/include
|
||||
../../extern/ceres/config
|
||||
)
|
||||
|
||||
list(APPEND LIB
|
||||
|
@ -127,8 +127,6 @@ if(WITH_LIBMV)
|
||||
list(APPEND INC
|
||||
\${GFLAGS_INCLUDE_DIRS}
|
||||
\${GLOG_INCLUDE_DIRS}
|
||||
../../extern/ceres/include
|
||||
../../extern/ceres/config
|
||||
../guardedalloc
|
||||
)
|
||||
|
||||
@ -136,6 +134,8 @@ if(WITH_LIBMV)
|
||||
\${EIGEN3_INCLUDE_DIRS}
|
||||
\${PNG_INCLUDE_DIRS}
|
||||
\${ZLIB_INCLUDE_DIRS}
|
||||
../../extern/ceres/include
|
||||
../../extern/ceres/config
|
||||
)
|
||||
|
||||
list(APPEND LIB
|
||||
|
Loading…
Reference in New Issue
Block a user