<div>First, ask if the module is really necessary. If, instead, you can add an OpenEXRConfig.cmake file to the OpenEXR project itself, and install it in a place that cmake&#39;s find_package will automatically find it, then a find module is unnecessary.</div>
<div><br></div><div>However, if that&#39;s not possible or practical, then...</div><div><br></div>Follow the directions here on becoming a module maintainer:<div><br><div>  <a href="http://www.cmake.org/Wiki/CMake:Module_Maintainers">http://www.cmake.org/Wiki/CMake:Module_Maintainers</a><br>
<br></div><div>If anything is unclear, ask here for clarification.</div><div><br></div><div><br></div><div>Thanks,</div><div>David</div><div><br></div><div><br><div class="gmail_quote">On Wed, Jun 15, 2011 at 11:25 PM, Campbell Barton <span dir="ltr">&lt;<a href="mailto:ideasman42@gmail.com">ideasman42@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Recently I decided to start moving some of our projects hard coded<br>
paths into Find***.cmake modules.<br>
<br>
Incidentally the libs are libsamplerate, libFFTW3, libsndfile,<br>
libjemalloc, OpenEXR, OpenJPEG, libpcre.<br>
<br>
I started out with OpenEXR, and tried to comply with the module<br>
readme.txt, and used FindTIFF/Boost/OpenGL as references too.<br>
<br>
Heres the module,<br>
<a href="https://svn.blender.org/svnroot/bf-blender/trunk/blender/build_files/cmake/Modules/FindOpenEXR.cmake" target="_blank">https://svn.blender.org/svnroot/bf-blender/trunk/blender/build_files/cmake/Modules/FindOpenEXR.cmake</a><br>

<br>
_after_ writing this I found that there are 3 other projects who also<br>
wrote their own FindOpenEXR.cmake modules,<br>
<br>
<a href="http://code.google.com/p/nvidia-texture-tools/source/browse/trunk/cmake/FindOpenEXR.cmake?r=HEAD" target="_blank">http://code.google.com/p/nvidia-texture-tools/source/browse/trunk/cmake/FindOpenEXR.cmake?r=HEAD</a><br>

<a href="http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/CMakeModules/FindOpenEXR.cmake?rev=HEAD" target="_blank">http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/CMakeModules/FindOpenEXR.cmake?rev=HEAD</a><br>

<a href="http://www.openlibraries.org/browser/trunk/FindOpenEXR.cmake" target="_blank">http://www.openlibraries.org/browser/trunk/FindOpenEXR.cmake</a><br>
<br>