diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-05-12 14:03:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 14:03:32 (GMT) |
commit | b9dc83934df91a27d16304bb00ac54648c01ef93 (patch) | |
tree | eff9b74b3ebdb7e4991d023702dbce5873297b18 /config/cmake/scripts/HDF5config.cmake | |
parent | d0ea8a1d8cbc5ec54b179f605f90636ee8a837f0 (diff) | |
download | hdf5-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.cmake | 2 |
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 () |