From 813ba42cfcc9be4cb65ea48456a23b3bc68d18e6 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Thu, 15 Mar 2012 13:35:30 +0000 Subject: [PATCH] [trunk] make sure to build as universal build when OS is APPLE --- thirdparty/libtiff/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) 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)