Pointing 3.0.3's installation to a non-existent directory causes a wonky pkgconfig directory to be created:
cmake -DCMAKE_INSTALL_PREFIX=../foo ../eigen-eigen-3.0.3/ # foo does not exist
-- searching for 'pkgconfig' directory in PKG_CONFIG_LIBDIR ( ), /h2/rhys/tmp/foo/share, and /h2/rhys/tmp/foo/lib
-- found pkg_config_libdir-NOTFOUND/pkgconfig
which shows foo/pkg_config_libdir-NOTFOUND/pkgconfig/eigen3.pc as the installed file.
Most folks probably point the install prefix to a known good location. I use it to build loadable modules. Easy enough to workaround. Just wanted to get it filed.
I tried to fix this with changesets 82eb27aa4d89 and c0a1d0e5ea0c. However, cmake still gives me the creeps, so I am not extremely confident that it works. In other words, please test ...
That looks right to me. Thanks Jitse.
-- GitLab Migration Automatic Message --
This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/358.