summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-02-02 19:45:59 (GMT)
committerGitHub <noreply@github.com>2022-02-02 19:45:59 (GMT)
commit1d598182d6097052060f15a6b0d744c42a2fd80a (patch)
tree84982b93d0373809b55dd84a2855ae8b8df799fa /config/cmake
parent86ef00fd67d4f5007ff8e3390631009ad75891a5 (diff)
downloadhdf5-1d598182d6097052060f15a6b0d744c42a2fd80a.zip
hdf5-1d598182d6097052060f15a6b0d744c42a2fd80a.tar.gz
hdf5-1d598182d6097052060f15a6b0d744c42a2fd80a.tar.bz2
Update doc with HDF5_ROOT usage. (#1414)
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/HDF5_Examples.cmake.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/HDF5_Examples.cmake.in b/config/cmake/HDF5_Examples.cmake.in
index db638fd..9ff9b6f 100644
--- a/config/cmake/HDF5_Examples.cmake.in
+++ b/config/cmake/HDF5_Examples.cmake.in
@@ -83,12 +83,12 @@ set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DSITE:STRING=${CTEST_SITE} -DBUILDN
###############################################################################################################
if(WIN32)
set(SITE_OS_NAME "Windows")
- set(ENV{HDF5_DIR} "${INSTALLDIR}/share/cmake")
+ set(ENV{HDF5_ROOT} "${INSTALLDIR}")
set(CTEST_BINARY_NAME ${CTEST_SOURCE_NAME}\\build)
set(CTEST_SOURCE_DIRECTORY "${CTEST_DASHBOARD_ROOT}\\${CTEST_SOURCE_NAME}")
set(CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}\\${CTEST_BINARY_NAME}")
else()
- set(ENV{HDF5_DIR} "${INSTALLDIR}/share/cmake")
+ set(ENV{HDF5_ROOT} "${INSTALLDIR}")
set(ENV{LD_LIBRARY_PATH} "${INSTALLDIR}/lib")
set(CTEST_BINARY_NAME ${CTEST_SOURCE_NAME}/build)
set(CTEST_SOURCE_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${CTEST_SOURCE_NAME}")