sci-mathematics/cgal installs its CMake configuration files directly in /usr/lib64/cmake/ (e.g. /usr/lib64/cmake/FindCGAL.cmake). However, according to the find_package documentation [1], these files should be installed in a subdirectory with the name of the package (e.g. /usr/lib64/cmake/CGAL/FindCGAL.cmake). On my system, sci-mathematics/cgal is the only package that installs .cmake files directly in /usr/lib64/cmake/. The result of this behavior is that find_package is unable to find CGAL unless I specify additional options such as CGAL_DIR or CMAKE_PREFIX_PATH. [1] https://cmake.org/cmake/help/v3.12/command/find_package.html
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e3eee2f9aa40705a2d49f43b28cd5970b608851 commit 6e3eee2f9aa40705a2d49f43b28cd5970b608851 Author: Diogo Pereira <sir.suriv@gmail.com> AuthorDate: 2018-08-20 11:51:49 +0000 Commit: Amy Liffey <amynka@gentoo.org> CommitDate: 2018-09-09 15:53:20 +0000 sci-mathematics/cgal: bump to 4.11.3 Closes: https://bugs.gentoo.org/663464 Closes: https://github.com/gentoo/gentoo/pull/9557 Package-Manager: Portage-2.3.40, Repoman-2.3.9 sci-mathematics/cgal/Manifest | 2 + sci-mathematics/cgal/cgal-4.11.3.ebuild | 80 +++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+)