summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-03-15 13:35:30 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-03-15 13:35:30 +0000
commit813ba42cfcc9be4cb65ea48456a23b3bc68d18e6 (patch)
treec9dcaac2d350437effc7c647f420a6f5d23989ac
parent80076276e10f53f8054f504b107d1a2b02a1cf93 (diff)
[trunk] make sure to build as universal build when OS is APPLE
-rw-r--r--thirdparty/libtiff/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/thirdparty/libtiff/CMakeLists.txt b/thirdparty/libtiff/CMakeLists.txt
index 6d91e177..b6b22a49 100644
--- a/thirdparty/libtiff/CMakeLists.txt
+++ b/thirdparty/libtiff/CMakeLists.txt
@@ -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)