[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44807] trunk/blender/extern/libmv/ CMakeLists.txt: OSX/libmv: restrict the unwind.h workaround to 10.6. sdk only

jens verwiebe info at jensverwiebe.de
Sun Mar 11 13:15:49 CET 2012


Revision: 44807
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44807
Author:   jensverwiebe
Date:     2012-03-11 12:15:39 +0000 (Sun, 11 Mar 2012)
Log Message:
-----------
OSX/libmv: restrict the unwind.h workaround to 10.6.sdk only

Modified Paths:
--------------
    trunk/blender/extern/libmv/CMakeLists.txt

Modified: trunk/blender/extern/libmv/CMakeLists.txt
===================================================================
--- trunk/blender/extern/libmv/CMakeLists.txt	2012-03-11 11:23:30 UTC (rev 44806)
+++ trunk/blender/extern/libmv/CMakeLists.txt	2012-03-11 12:15:39 UTC (rev 44807)
@@ -37,7 +37,7 @@
 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()
 )




More information about the Bf-blender-cvs mailing list