[CMake] FindOpenEXR.cmake inclusion in cmake modules?

Campbell Barton ideasman42 at gmail.com
Wed Jun 15 23:25:46 EDT 2011


Recently I decided to start moving some of our projects hard coded
paths into Find***.cmake modules.

Incidentally the libs are libsamplerate, libFFTW3, libsndfile,
libjemalloc, OpenEXR, OpenJPEG, libpcre.

I started out with OpenEXR, and tried to comply with the module
readme.txt, and used FindTIFF/Boost/OpenGL as references too.

Heres the module,
https://svn.blender.org/svnroot/bf-blender/trunk/blender/build_files/cmake/Modules/FindOpenEXR.cmake

_after_ writing this I found that there are 3 other projects who also
wrote their own FindOpenEXR.cmake modules,

http://code.google.com/p/nvidia-texture-tools/source/browse/trunk/cmake/FindOpenEXR.cmake?r=HEAD
http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/CMakeModules/FindOpenEXR.cmake?rev=HEAD
http://www.openlibraries.org/browser/trunk/FindOpenEXR.cmake



More information about the CMake mailing list