I had a &#39;duh-phiphany&#39;.  I realized the find module doesn&#39;t use HDF5_ROOT as a cache variable.  Its expected to be an environment variable.  I created a cache variable and used that with a set(ENV xxx) call and then did the find(HDF5) call.<br>
<br>Works great.<br><br>Thanks for the suggestions.  They will help me diagnose other issues in the future.<br><br>Aaron R&gt;<br><br><div class="gmail_quote">On Tue, Dec 21, 2010 at 10:43 AM, Tyler Roscoe <span dir="ltr">&lt;<a href="mailto:tyler@cryptio.net">tyler@cryptio.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Tue, Dec 21, 2010 at 10:04:25AM -0700, Aaron R&gt; wrote:<br>
&gt; I&#39;m trying to setup a cmake project on windows which needs the HDF5<br>
&gt; library.  I put the prebuilt libraries under c:\hdf5-1.8.5-win32.  I set<br>
&gt; HDF5_ROOT in the cmakelists file and then called find(HDF5).  Its not<br>
&gt; finding it.  I&#39;ve tried specifying components as well and still nothing.<br>
<br>
</div>You can add some message() commands to FindHDF5.cmake to inspect things.<br>
You could also try cmake --trace to get debug output (note: the output<br>
is extremely verbose).<br>
<font color="#888888"><br>
tyler<br>
</font></blockquote></div><br>