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

Reply via email to