[ITK-dev] packaging ITK with system HDF5?

Arnaud Gelas arnaudgelas at gmail.com
Thu Sep 25 09:51:12 EDT 2014


Hi all,

When installing ITK with system HDF5, I get in the file
${CMAKE_INSTALL_PREFIX}/lib64/cmake/InsightToolkit/Modules/ITKHDF5.cmake

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"
)

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...

I could not find anything related to this issue...

It seems to me that the problem comes from:
https://github.com/Kitware/ITK/blob/master/Modules/ThirdParty/HDF5/CMakeLists.txt#L10

I guess this path should not be added there??

Any idea?

Thank you very much
Arnaud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-developers/attachments/20140925/b3a839f3/attachment.html>


More information about the Insight-developers mailing list