[ITK-dev] [ITK] packaging ITK with system HDF5?

Bradley Lowekamp blowekamp at mail.nih.gov
Thu Sep 25 10:00:55 EDT 2014


Arnaud,

For comparison you can look at libtiff:

https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/ThirdParty/TIFF/CMakeLists.txt#L9-L14

There the include are split between ITKTIFF_INCLUDE_DIRS and ITKTIFF_SYSTEM_INCLUDE_DIRS. Likely the SYSTEM variable doesn't get modified when installed.

What to git a shot at making HDF5 follow this TIFF include pattern?

Brad

On Sep 25, 2014, at 9:51 AM, Arnaud Gelas <arnaudgelas at gmail.com> wrote:

> 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
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-developers
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-developers/attachments/20140925/bb32ed15/attachment.html>


More information about the Insight-developers mailing list