tweaks for linking openEXR on osx/ppc - previous switch per cpu architecture was...
authorMatt Ebb <matt@mke3.net>
Sat, 1 Aug 2009 01:39:10 +0000 (01:39 +0000)
committerMatt Ebb <matt@mke3.net>
Sat, 1 Aug 2009 01:39:10 +0000 (01:39 +0000)
CMakeLists.txt

index fc6a3d3ade8067a7ea2a3318ec750013ee64dc22..d2595bd0138649ddcf419bac8750e7e9c916abb6 100644 (file)
@@ -382,11 +382,7 @@ IF(APPLE)
 
   SET(OPENEXR ${LIBDIR}/openexr)
   SET(OPENEXR_INC ${OPENEXR}/include/OpenEXR ${OPENEXR}/include)
-  IF(CMAKE_OSX_ARCHITECTURES MATCHES i386)
-    SET(OPENEXR_LIB Iex Half IlmImf Imath IlmThread)
-  ELSE(CMAKE_OSX_ARCHITECTURES MATCHES i386)
-    SET(OPENEXR_LIB Iex Half IlmImf Imath)
-  ENDIF(CMAKE_OSX_ARCHITECTURES MATCHES i386)
+  SET(OPENEXR_LIB Iex Half IlmImf Imath IlmThread)
   SET(OPENEXR_LIBPATH ${OPENEXR}/lib)
 
   SET(LLIBS stdc++ SystemStubs)