Libmv: remove unwind hack from CMake rules.
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 16 Sep 2012 12:24:43 +0000 (12:24 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 16 Sep 2012 12:24:43 +0000 (12:24 +0000)
Such stuff better be solved in glog itself.

Should be pretty safe change since it was defined for CMake only
and AFAIR Jens wanted to get rid of this too.

extern/libmv/CMakeLists.txt

index 60cd84d89d482ee36d0095a667a56967964a58be..602372f6ff7a0820cf574f01252e09d33145ece6 100644 (file)
@@ -40,19 +40,6 @@ set(INC_SYS
        ${ZLIB_INCLUDE_DIRS}
 )
 
-
-# XXX - FIXME
-# this is a momentary hack to find unwind.h in 10.6.sdk
-if(APPLE)
-       if(${CMAKE_OSX_DEPLOYMENT_TARGET} STREQUAL "10.6")
-               list(APPEND INC_SYS
-                       ${CMAKE_OSX_SYSROOT}/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin10/4.2.1/include
-               )
-       endif()
-endif()
-# XXX - END
-
-
 set(SRC
        libmv-capi.cpp
        libmv/image/array_nd.cc