|Re: [eigen] cmake config files|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
I had been meaning to work on this myself, and can look at the
implementation proposed next week. Installing Config files is the
preferred way of doing this, and Find modules will ideally only be
used on projects that do not have CMake based build systems. The
find_package command first uses any find modules it has, and then will
search for config modules and use them. As pointed out, you can force
find_package to only use config files too.
I should have some time next week, it would be great to have Eigen
start installing a config file. It would remove the need for many
projects to copy the find module to their sources too, and given Eigen
the ability to encode whatever configuration information needed in the
On Tue, Oct 8, 2013 at 6:09 AM, Gael Guennebaud
> thank you for the patch, but I'm worried about how cmake can find the
> respective UseEigen3.cmake and Eigen3Config.cmake files?
> On Mon, Oct 7, 2013 at 12:16 PM, xantares 09 <xantares09@xxxxxxxxxxx> wrote:
>> Here is a patch to add cmake config files.
>> This way eigen would be easily used through another cmake project:
>> you can now write find_package(Eigen3 NO_MODULE), ie without embedding a
>> FindEigen3.cmake module.