The OpenEXR include path needed to be a bit more elaborate... oddly
authorChris Want <cwant@ualberta.ca>
Mon, 18 Dec 2006 01:22:38 +0000 (01:22 +0000)
committerChris Want <cwant@ualberta.ca>
Mon, 18 Dec 2006 01:22:38 +0000 (01:22 +0000)
cmake always says OPENEXR_INC not found despite the fact that I have
the headers and it finds them correctly during building.

<digression>
There seems to be some conflict between setting, configuring as an
option, and autofinding files for some of the dependencies, and I don't
know how to resolve this.
</digression>

CMakeLists.txt

index b273cfda90401b6eff6675c8b3e5ef0db45948a6..e1f585fcc740868a06cd5ce62cadb3c5a5471e2c 100644 (file)
@@ -328,7 +328,7 @@ IF(APPLE)
   SET(FREETYPE_LIB freetype)
 
   SET(OPENEXR ${LIBDIR}/openexr)
-  SET(OPENEXR_INC ${OPENEXR}/include/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)