1.10 Update HDF5_ROOT usage (#1487)

* Update HDF5_ROOT usage

* Fix typo
This commit is contained in:
Allen Byrne
2022-03-12 12:37:29 -06:00
committed by GitHub
parent a06b7ebb34
commit 2ad70782be
3 changed files with 13 additions and 4 deletions

View File

@@ -356,7 +356,7 @@ macro (HDF_DIR_PATHS package_prefix)
endif ()
endif ()
if (NOT ${package_prefix}_INSTALL_CMAKE_DIR)
set (${package_prefix}_INSTALL_CMAKE_DIR share/cmake)
set (${package_prefix}_INSTALL_CMAKE_DIR cmake)
endif ()
# Always use full RPATH, i.e. don't skip the full RPATH for the build tree