Package: libcgal-qt5-dev
Version: 4.7-3
Severity: minor

Hello,

since around 4.7, when using cmake to build software based on CGAL,
libcgal-qt5-dev needs to be installed, even if the software doesn't use
Qt5 or does but doesn't need CGAL-Qt5.

This can be most easily verified using the demos:

| $ tar xzf /usr/share/doc/libcgal-demo/demo.tar.gz
| $ cd demo/Surface_modeling
| $ cmake .
| [...]
| CMake Error at /usr/lib/x86_64-linux-gnu/cmake/CGAL/CGALExports.cmake:83 
(message):
|   The imported target "CGAL::CGAL_Qt5" references the file
| 
|      "/usr/lib/x86_64-linux-gnu/libCGAL_Qt5.so.11.0.1"
| 
|   but this file does not exist.  Possible reasons include:

As a workaround, I have added libcgal-qt5-dev to the build dependencies
of openscad; judging from shlibdeps results, this does not lead to
overlinking and is thus just an additional build dependency.

It appears to me that the dependency on CGAL-Qt is hardcoded in the
CGAL_Exports.cmake file generated at CGAL build time, I'm not versed
enough in CMake to make useful suggestions on how this issue can be
resolved cleanly.

Best regards
chrysn

Attachment: signature.asc
Description: PGP signature

Reply via email to