<div dir="ltr"><div>Hi Michael and Lori,<br></div><div><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
<span>

> I recall that the folder containing CheMPS2Conf*.cmake also contains an<br>
> HDF5 cmake file, if I'm not mistaken.<br>
<br>
</span>Ah right.<br>
<span><br>
> Perhaps augmenting the file debian/libchemps2-dev.install with this HDF5<br>
> cmake file helps?<br>
<br>
</span>Yeah, I've changed the line in debian/libchemps2-dev.install to ship all<br>
the *.cmake files in debian/tmp/usr/share/cmake/<wbr>CheMPS2, and now Psi4<br>
seems to find CheMPS2:<br>
<br>
-- Found TargetHDF5: Found HDF5:<br>
/usr/lib/x86_64-linux-gnu/<wbr>hdf5/serial/libhdf5.so;/usr/<wbr>lib/x86_64-linux-gnu/<wbr>libpthread.so;/usr/lib/x86_64-<wbr>linux-gnu/libsz.so;/usr/lib/<wbr>x86_64-linux-gnu/libz.so;/usr/<wbr>lib/x86_64-linux-gnu/libdl.so;<wbr>/usr/lib/x86_64-linux-gnu/<wbr>libm.so<br>
(found version 1.10.0.1) (found suitable exact version "1.10.0.1")<br>
-- Found CheMPS2: /usr/lib/x86_64-linux-gnu/<wbr>libchemps2.so.2 (found<br>
version 1.8.5)<br>
<br>
I'm wondering how legit this sort of cmakeification is, though.<br>
<br>
Maybe somebody more versed in cmake than I am can comment whether the<br>
/usr/share/cmake/CheMPS2 drectory/namespace avoids cmake from using that<br>
TargetHDF5 file for other packages as well?<br></blockquote><div><br></div><div>I've included Lori Burns from the psi4 project in the thread. She is exceptionally well-versed in cmake, and actually provided the CheMPS2 and HDF5 *.cmake files in the above noted folder. I hope she can comment.</div><div><br></div><div>@lori: The full discussion can be followed at <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887104">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887104</a></div><div><br></div><div>Thanks!</div><div><br></div><div>Sebastian</div></div><br></div></div>