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