[cmake] Detect GLU and disable targets using it if GLU is not found
envgap__PointCloudLibrary__pcl-1173
01 / FAILURE SIGNATURE
As reported upstream
/build/pcl/src/pcl-pcl-1.7.2/apps/point_cloud_editor/src/cloudEditorWidget.cpp:51:21: fatal error: GL/glu.h: No such file or directory
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
44790b403313799caa20594d95e94edcfb21326f- Manifest
apps/point_cloud_editor/CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
PointCloudLibrary/pcl #1173 · read the original issue
When compiling pcl 1.7.2 on archlinux without glu installed, I get a compilation error that `GL/glu.h` can not be found. I realise this can be fixed easily by installing glu but it seems to me that cmake should have errored out before compilation even started or disabled whatever features depend on glu. As far as I can tell, the cmake files look for opengl and optionally glut, but not glu. ``` /build/pcl/src/pcl-pcl-1.7.2/apps/point_cloud_editor/src/cloudEditorWidget.cpp:51:21: fatal error: GL/glu.h: No such file or directory # include <GL/glu.h> ```
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]