diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake index f3afb691a..3c9672032 100644 --- a/Modules/FindHDF5.cmake +++ b/Modules/FindHDF5.cmake @@ -59,7 +59,7 @@ # This module is maintained by Will Dicharry . include(SelectLibraryConfigurations) -include(FindPackageHandleStandardArgs) +include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) # List of the valid HDF5 components set( HDF5_VALID_COMPONENTS