OSX/libmv: restrict the unwind.h workaround to 10.6.sdk only
This commit is contained in:
2
extern/libmv/CMakeLists.txt
vendored
2
extern/libmv/CMakeLists.txt
vendored
@@ -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()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user