Correction to cmake rules for libmv/ceres

libmv still requires optimization switched off because
of some incompatibility of SSBA and MSVC optimizer which
makes bundle adjustment work just wrong.

This shall not be an issue for Ceres and no need to
disable optimization for extern_ceres
This commit is contained in:
Sergey Sharybin 2013-02-18 10:45:46 +00:00
parent 5cc377022b
commit 971b0f1ed6
2 changed files with 4 additions and 2 deletions

@ -26,6 +26,8 @@
# If you're doing changes in this file, please update template
# in that script too
add_subdirectory(third_party)
set(INC
.
../colamd/Include
@ -243,5 +245,3 @@ add_definitions(
)
blender_add_lib(extern_libmv "${SRC}" "${INC}" "${INC_SYS}")
add_subdirectory(third_party)

@ -122,6 +122,8 @@ cat > CMakeLists.txt << EOF
# If you're doing changes in this file, please update template
# in that script too
add_subdirectory(third_party)
set(INC
.
../colamd/Include