1 CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
3 IF(OSGOpenExrSrcDir AND OSGZLibSrcDir)
5 MESSAGE(STATUS "adding OpenEXR from : ${OSGOpenExrSrcDir}")
7 IF(OSGOpenExrSrcDir MATCHES "OpenEXR$")
8 ADD_SUBDIRECTORY(Initial)
10 ADD_SUBDIRECTORY(Current)
13 ELSE(OSGOpenExrSrcDir AND OSGZLibSrcDir)
14 MESSAGE(STATUS "ignoring OpenEXR")
16 SET(OSGOpenExrSrcDir "" CACHE PATH "")
17 ENDIF(OSGOpenExrSrcDir AND OSGZLibSrcDir)