Patch #7065, from Stephane SOPPERA, part one: define macro WITH_OPENEXR
authorChris Want <cwant@ualberta.ca>
Wed, 8 Oct 2008 19:56:41 +0000 (19:56 +0000)
committerChris Want <cwant@ualberta.ca>
Wed, 8 Oct 2008 19:56:41 +0000 (19:56 +0000)
when the sources are configured with OpenEXR support.

source/creator/CMakeLists.txt

index 5109fbc..d3c19f8 100644 (file)
@@ -49,6 +49,10 @@ IF(WITH_QUICKTIME)
   ADD_DEFINITIONS(-DWITH_QUICKTIME)
 ENDIF(WITH_QUICKTIME)
 
+IF(WITH_OPENEXR)
+  ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
 IF(LINUX)
   ADD_DEFINITIONS(-DWITH_BINRELOC)
   INCLUDE_DIRECTORIES(${BINRELOC_INC})