Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extern/libmv/CMakeLists.txt14
-rwxr-xr-xextern/libmv/bundle.sh14
2 files changed, 22 insertions, 6 deletions
diff --git a/extern/libmv/CMakeLists.txt b/extern/libmv/CMakeLists.txt
index c16d842dd65..a3a210eb436 100644
--- a/extern/libmv/CMakeLists.txt
+++ b/extern/libmv/CMakeLists.txt
@@ -37,11 +37,19 @@ set(INC
set(INC_SYS
${PNG_INCLUDE_DIR}
${ZLIB_INCLUDE_DIRS}
- if(${CMAKE_OSX_DEPLOYMENT_TARGET} STREQUAL "10.6") # this is a momentary hack to find unwind.h in 10.6.sdk
- ${CMAKE_OSX_SYSROOT}/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin10/4.2.1/include
- endif()
)
+
+# XXX - FIXME
+# this is a momentary hack to find unwind.h in 10.6.sdk
+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()
+# XXX - END
+
+
set(SRC
libmv-capi.cpp
libmv/image/array_nd.cc
diff --git a/extern/libmv/bundle.sh b/extern/libmv/bundle.sh
index fbf4364f7fe..2f9357a2fe1 100755
--- a/extern/libmv/bundle.sh
+++ b/extern/libmv/bundle.sh
@@ -129,11 +129,19 @@ set(INC
set(INC_SYS
\${PNG_INCLUDE_DIR}
\${ZLIB_INCLUDE_DIRS}
- if(\${CMAKE_OSX_DEPLOYMENT_TARGET} STREQUAL "10.6") # this is a momentary hack to find unwind.h in 10.6.sdk
- \${CMAKE_OSX_SYSROOT}/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin10/4.2.1/include
- endif()
)
+
+# XXX - FIXME
+# this is a momentary hack to find unwind.h in 10.6.sdk
+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()
+# XXX - END
+
+
set(SRC
libmv-capi.cpp
${sources}