Problem with OpenGRConfig.cmake
Closed this issue · 4 comments
Hello,
In the cmake documentation of find_package
, it is specified that search paths for the config file are, on Unix:
<prefix>/(lib/<arch>|lib|share)/cmake/<name>*/ (U)
<prefix>/(lib/<arch>|lib|share)/<name>*/ (U)
<prefix>/(lib/<arch>|lib|share)/<name>*/(cmake|CMake)/ (U)
which gives <prefix>/lib/cmake/opengr/
in my case, on an Ubuntu docker image.
But the current installation path for this file is actually <prefix>/lib/cmake/
, without the last opengr
dir, which prevents cmake from automatically finding the configuration file for OpenGR after a simple make install
.
I think it should be added here.
Thank you for your time.
Thanks @maxGimeno, are you fine with this proposal ?
Yes, perfect ! Thanks !
If you don't mind I'll first merge a PR (I am on it right now) to re-enable CI using GitHub Actions, as travis is currently broken and I cannot ensure that this change of package location is not breaking anything.
Should be fine now.