From 2ba826e0600902b01750d345e2f51dd3ab0a9c4a Mon Sep 17 00:00:00 2001 From: Will Dicharry Date: Tue, 24 May 2011 12:53:49 -0600 Subject: [PATCH] Use CMAKE_CURRENT_LIST_DIR to locate FindPackageHandleStandardArgs. --- Modules/FindHDF5.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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