<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Arnaud,<div><br></div><div>For comparison you can look at libtiff:</div><div><br></div><div><a href="https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/ThirdParty/TIFF/CMakeLists.txt#L9-L14">https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/ThirdParty/TIFF/CMakeLists.txt#L9-L14</a></div><div><br></div><div>There the include are split between ITKTIFF_INCLUDE_DIRS and ITKTIFF_SYSTEM_INCLUDE_DIRS. Likely the SYSTEM variable doesn't get modified when installed.</div><div><br></div><div>What to git a shot at making HDF5 follow this TIFF include pattern?</div><div><br></div><div>Brad</div><div><br><div><div>On Sep 25, 2014, at 9:51 AM, Arnaud Gelas <<a href="mailto:arnaudgelas@gmail.com">arnaudgelas@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Hi all,<div><br></div><div>When installing ITK with system HDF5, I get in the file ${CMAKE_INSTALL_PREFIX}/lib64/cmake/InsightToolkit/Modules/ITKHDF5.cmake</div><div><br></div><div>set( ITKHDF5_INCLUDE_DIRS "${ITK_INSTALL_PREFIX}/include/InsightToolkit;/home/builder/rpmbuild/BUILD/InsightToolkit-4.6.0/x86_64-redhat-linux-gnu/Modules/ThirdParty/HDF5/src;/usr/include" )</div><div><br></div><div>Of course it works fine, if you do not delete /home/builder/rpmbuild/BUILD/InsightToolkit-4.6.0/x86_64-redhat-linux-gnu/Modules/ThirdParty/HDF5/src and if you use the same user...</div><div><br></div><div>I could not find anything related to this issue...</div><div><br></div><div>It seems to me that the problem comes from:</div><div><a href="https://github.com/Kitware/ITK/blob/master/Modules/ThirdParty/HDF5/CMakeLists.txt#L10">https://github.com/Kitware/ITK/blob/master/Modules/ThirdParty/HDF5/CMakeLists.txt#L10</a><br></div><div><br></div><div>I guess this path should not be added there??</div><div><br></div><div>Any idea?</div><div><br></div><div>Thank you very much</div><div>Arnaud</div></div>
_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://kitware.com/products/protraining.php<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://public.kitware.com/mailman/listinfo/insight-developers<br>_______________________________________________<br>Community mailing list<br>Community@itk.org<br>http://public.kitware.com/mailman/listinfo/community<br></blockquote></div><br></div></body></html>