[CMake] config-module installed to '<prefix>/share/cmake' - good or bad?
Tamás Kenéz
tamas.kenez at gmail.com
Fri Sep 18 10:38:00 EDT 2015
Note: this question was motivated by having some troubles with HDF5 but
requires no familiarity with HDF5.
The HDF5 source distribution installs a very nice config-module (creates
imported targets unlike FindHDF5.cmake).
However it installs it to `<prefix>/share/cmake` which path is not searched
by `find_package(hdf5 CONFIG)`, in accordance with the documentation.
I'd like to hear the opinion of the wise cmake people here whether this is
a bug or not.
I failed to convince a developer over at HDFGroup that it is a bug and they
should install to '<prefix>/share/cmake/hdf5' instead. But maybe I'm
wrong, that's why I'm asking it here.
Cheers,
Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150918/313a53da/attachment.html>
More information about the CMake
mailing list