[trunk] make sure to build as universal build when OS is APPLE
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Thu, 15 Mar 2012 13:35:30 +0000 (13:35 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Thu, 15 Mar 2012 13:35:30 +0000 (13:35 +0000)
thirdparty/libtiff/CMakeLists.txt

index 6d91e1770286f2b0a04909d00157e0603a0b6372..b6b22a493aa46f0f28f44593ce04b06ee23b1731 100644 (file)
@@ -207,6 +207,10 @@ set(VERSION "\"4.0.1\"")
 set(PACKAGE_VERSION ${VERSION})
 set(PACKAGE "\"tiff\"")
 
+# universal build ?
+if(APPLE)
+  set(AC_APPLE_UNIVERSAL_BUILD 1)
+endif()
 if(UNIX)
   set(CMAKE_REQUIRED_LIBRARIES m)
   set(HAVE_LIBM 1)