mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
bugfix: install Find{libaec,ZLIBNG}.cmake (#6301)
Before this, error on install when using HDF5 via FetchContent as CMAKE_SOURCE_DIR pointed to parent project Co-authored-by: scivision <scivision@users.noreply.github.com>
This commit is contained in:
@@ -174,12 +174,12 @@ endif ()
|
||||
# Add CMake Find modules to installation
|
||||
#-----------------------------------------------------------------------------
|
||||
install (
|
||||
FILES ${CMAKE_SOURCE_DIR}/config/cmake/Findlibaec.cmake
|
||||
FILES ${HDF_RESOURCES_DIR}/Findlibaec.cmake
|
||||
DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/Modules
|
||||
COMPONENT configinstall
|
||||
)
|
||||
install (
|
||||
FILES ${CMAKE_SOURCE_DIR}/config/cmake/FindZLIBNG.cmake
|
||||
FILES ${HDF_RESOURCES_DIR}/FindZLIBNG.cmake
|
||||
DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/Modules
|
||||
COMPONENT configinstall
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user