From cc7ae0a7fe9451062a1fb370ae2a36c0789a60e3 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Thu, 2 Aug 2012 15:31:43 -0500 Subject: [svn-r22622] Windows config is up one level --- config/cmake/hdf5-config.cmake.install.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/cmake/hdf5-config.cmake.install.in b/config/cmake/hdf5-config.cmake.install.in index cfe89c1..6b90496 100644 --- a/config/cmake/hdf5-config.cmake.install.in +++ b/config/cmake/hdf5-config.cmake.install.in @@ -4,7 +4,9 @@ GET_FILENAME_COMPONENT (SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) GET_FILENAME_COMPONENT(_IMPORT_PREFIX "${SELF_DIR}" PATH) GET_FILENAME_COMPONENT(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -GET_FILENAME_COMPONENT(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) +IF (NOT WIN32) + GET_FILENAME_COMPONENT(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) +ENDIF (NOT WIN32) #----------------------------------------------------------------------------- # User Options -- cgit v0.12