From fa169fdcb69ef3310b747c9433eddbc4b0435a95 Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Sun, 11 Mar 2012 12:15:39 +0000 Subject: OSX/libmv: restrict the unwind.h workaround to 10.6.sdk only --- extern/libmv/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extern') 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() ) -- cgit v1.2.3