Bundle new upstream version of libmv from own branch

This version of libmv includes new gflags and glog libraries which makes
it possible to compile libmv with clang compiler.

Also remove code from CMakeLists which was disabling libmv if using clang.

Tested on linux with gcc-4.6 and clang-3.0, windows cmake+msvc and scons+mingw.
Could be some issues with other platforms/build system which shall be simple to resolve.
This commit is contained in:
Sergey Sharybin
2012-03-11 19:52:25 +00:00
parent c21c58f44c
commit 42b3463030
50 changed files with 1853 additions and 996 deletions

View File

@@ -1533,14 +1533,6 @@ if(MSVC10)
endif()
endif()
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
if(WITH_LIBMV)
message(WARNING "Using Clang as CXX compiler: disabling WITH_LIBMV, this feature will be missing.")
set(WITH_LIBMV OFF)
endif()
endif()
# ensure python header is found since detection can fail, this could happen
# with _any_ library but since we used a fixed python version this tends to
# be most problematic.