FS#53990 - [cgal] Wrong install libdir

Attached to Project: Community Packages
Opened by Grégoire Payen de La Garanderie (gdlg) - Tuesday, 09 May 2017, 15:04 GMT
Last edited by Kyle Keen (keenerd) - Tuesday, 23 May 2017, 20:34 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Hi,

In the latest update of CGAL (4.9.1-1),
-DCMAKE_INSTALL_LIBDIR=/usr/lib
was added however CGAL uses a relative LIBDIR, therefore it should be:
-DCMAKE_INSTALL_LIBDIR=lib

Otherwise the installed CGALConfig.cmake refers to /usr/usr/lib/ instead of /usr/lib.

Thank you
This task depends upon

Closed by  Kyle Keen (keenerd)
Tuesday, 23 May 2017, 20:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.9.1-2
Comment by Padraig O Conbhui (poconbhui) - Tuesday, 23 May 2017, 10:29 GMT
I can confirm this. It breaks CMakeLists.txt files for projects which include ${CGAL_USE_FILE}. Changing to -DCMAKE_INSTALL_LIBDIR=lib fixes it.

Loading...