summaryrefslogtreecommitdiffstats
path: root/config/cmake/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'config/cmake/ConfigureChecks.cmake')
-rw-r--r--config/cmake/ConfigureChecks.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index b467a15..e495d9b 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -152,6 +152,14 @@ ENDIF (WIN32)
#
SET (H5_DEFAULT_VFD H5FD_SEC2)
+IF (NOT DEFINED "H5_DEFAULT_PLUGIN")
+ IF (WINDOWS)
+ SET (H5_DEFAULT_PLUGIN "%ALLUSERSPROFILE%/hdf5/lib/plugin")
+ ELSE (WINDOWS)
+ SET (H5_DEFAULT_PLUGIN "/usr/local/hdf5/lib/plugin")
+ ENDIF (WINDOWS)
+ENDIF (NOT DEFINED "H5_DEFAULT_PLUGIN")
+
IF (WINDOWS)
SET (H5_HAVE_WINDOWS 1)
# ----------------------------------------------------------------------