Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#71987 - [glm] CMake target has the wrong name

Attached to Project: Community Packages
Opened by Alexander Overvoorde (Overv) - Wednesday, 01 September 2021, 20:34 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 03 September 2021, 11:27 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The glmTargets.cmake file (/usr/lib/cmake/glm/glmTargets.cmake) included with this package defines a target named just "glm":

```
# Create imported target glm
add_library(glm INTERFACE IMPORTED)
```

While the GLM library talks about a target called "glm::glm": https://github.com/g-truc/glm/blob/master/manual.md#-15-finding-glm-with-cmake

The Ubuntu package libglm-dev does (correctly?) declare the target "glm::glm" in its /usr/lib/cmake/glm/glmConfig.cmake file.

Is there a reason for this difference?
This task depends upon

Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 03 September 2021, 12:17 GMT
glm decided to delete their upstream .cmake files and so I had to pull the latest state into the package. Then they added them again (but haven't made a release with those so far). Next time glm makes a release, I'll switch back to the upstream .cmake files.

Loading...