summaryrefslogtreecommitdiffstats
path: root/config/cmake/scripts/HDF5config.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-05-12 14:03:32 (GMT)
committerGitHub <noreply@github.com>2022-05-12 14:03:32 (GMT)
commitb9dc83934df91a27d16304bb00ac54648c01ef93 (patch)
treeeff9b74b3ebdb7e4991d023702dbce5873297b18 /config/cmake/scripts/HDF5config.cmake
parentd0ea8a1d8cbc5ec54b179f605f90636ee8a837f0 (diff)
downloadhdf5-b9dc83934df91a27d16304bb00ac54648c01ef93.zip
hdf5-b9dc83934df91a27d16304bb00ac54648c01ef93.tar.gz
hdf5-b9dc83934df91a27d16304bb00ac54648c01ef93.tar.bz2
Use windows ENV var for default install dir setting (#1763)
* Use windows ENV var for default install dir setting * Change variable name
Diffstat (limited to 'config/cmake/scripts/HDF5config.cmake')
-rw-r--r--config/cmake/scripts/HDF5config.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake/scripts/HDF5config.cmake b/config/cmake/scripts/HDF5config.cmake
index 9a3ead2..cbeb830 100644
--- a/config/cmake/scripts/HDF5config.cmake
+++ b/config/cmake/scripts/HDF5config.cmake
@@ -79,7 +79,7 @@ set (CTEST_CONFIGURATION_TYPE "$ENV{CMAKE_CONFIG_TYPE}")
if (NOT DEFINED INSTALLDIR)
if (WIN32)
- set (INSTALLDIR "C:/Program Files/HDF_Group/HDF5/${CTEST_SOURCE_VERSION}")
+ set (INSTALLDIR "%ProgramFiles%/HDF_Group/HDF5/${CTEST_SOURCE_VERSION}")
else ()
set (INSTALLDIR "${CTEST_SCRIPT_DIRECTORY}/HDF_Group/HDF5/${CTEST_SOURCE_VERSION}")
endif ()