diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2012-03-11 16:15:39 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2012-03-11 16:15:39 +0400 |
commit | fa169fdcb69ef3310b747c9433eddbc4b0435a95 (patch) | |
tree | 23aa34e464fc5d051d6e338665bf282df2f364ad /extern | |
parent | 2382afa968afa338bbbc3f2e615c847e5ddbc770 (diff) |
OSX/libmv: restrict the unwind.h workaround to 10.6.sdk only
Diffstat (limited to 'extern')
-rw-r--r-- | extern/libmv/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/libmv/CMakeLists.txt b/extern/libmv/CMakeLists.txt index db788059800..3bd021209df 100644 --- a/extern/libmv/CMakeLists.txt +++ b/extern/libmv/CMakeLists.txt @@ -37,7 +37,7 @@ set(INC set(INC_SYS ${PNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS} - if(APPLE) # this is a momentary hack to find unwind.h in 10.6.sdk + 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() ) |