-
-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop cmake install dir #1041
Conversation
- Corrected path searched by CMake find_package command | ||
|
||
The install path for cmake find_package files had been changed to use | ||
"share/cmake" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@byrnHDF this causes a regression on at least Unix, since CMake config files are not in a supported path anymore.
The supported directory names are:
https://cmake.org/cmake/help/latest/command/find_package.html#config-mode-search-procedure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For your tests, avoid setting HDF5_DIR
to the CMake sub-path. Instead, just hint CMAKE_PREFIX_PATH to the root/prefix of the whole HDF5 installation. That's all that should be needed to hint a HDF5 install if the supported directory naming scheme is used :)
Corrected path searched by CMake find_package command