summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-08-02 20:31:43 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-08-02 20:31:43 (GMT)
commitcc7ae0a7fe9451062a1fb370ae2a36c0789a60e3 (patch)
treeb93381e2d30b19fd61357f59746944275b6f1709 /config/cmake
parent49a11118eec78a39cd92820cbfb94d348b10cd0f (diff)
downloadhdf5-cc7ae0a7fe9451062a1fb370ae2a36c0789a60e3.zip
hdf5-cc7ae0a7fe9451062a1fb370ae2a36c0789a60e3.tar.gz
hdf5-cc7ae0a7fe9451062a1fb370ae2a36c0789a60e3.tar.bz2
[svn-r22622] Windows config is up one level
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/hdf5-config.cmake.install.in4
1 files changed, 3 insertions, 1 deletions
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