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:
Diffstat (limited to 'extern/libmv/CMakeLists.txt')
-rw-r--r--extern/libmv/CMakeLists.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/extern/libmv/CMakeLists.txt b/extern/libmv/CMakeLists.txt
index a3a210eb436..5239c7ff7ca 100644
--- a/extern/libmv/CMakeLists.txt
+++ b/extern/libmv/CMakeLists.txt
@@ -42,10 +42,12 @@ set(INC_SYS
# 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
- )
+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