| Summary: | SDL2_gfx-devel needs cmake files. Has only pkgconfig/SDL2_gfx.pc | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Hans Micheelsen <micheelsen> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | UPSTREAM --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | geiger.david68210 |
| Version: | Cauldron | Keywords: | UPSTREAM |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/index.html | ||
| Whiteboard: | |||
| Source RPM: | sdl2_gfx-1.0.4-4.mga9.src.rpm | CVE: | |
| Status comment: | |||
This should be asked upstream, we can't do anything for that. CC:
(none) =>
geiger.david68210 Hans, please do that. Status:
NEW =>
UPSTREAM Certainly. I have written an email to the author with a request for sdl2_gfx-config.cmake. I got an answer from A Schiffer already. If we/I can provide a way to make cmake files, he will be glad to provide them to the project. Do anybody know how to do that? Where can I find instructions? Remark! gfx is build with configure and makefile
Hans Micheelsen
2024-03-13 01:51:57 CET
Source RPM:
SDL_gfx-2.0.27-1.mga10.src.rpm =>
sdl2_gfx-1.0.4-4.mga9.src.rpm |
Description of problem: In order to use SDL2-gfx in CMAKE it is convenient to have cmake files. I guess they should be called sdl2_gfx-config-version.cmake and sdl2_gfx-config.cmake A workaround is to use: >> find_package(PkgConfig REQUIRED) >> pkg_search_module(SDL2_GFX REQUIRED SDL2_gfx>=1.0.0) in your CMakeLists.txt. But the cmake files are present in the other SDL2 libraries... Version-Release number of selected component (if applicable): SDL_gfx-2.0.27-1.mga10 How reproducible: Steps to Reproduce: 1. Use FIND_PACKAGE(SDL2_GFX) in CMakeLists.txt 2. CMAKE error message: >>Could not find a package configuration file provided by "SDL2_GFX" >> with any of the following names: >> SDL2_GFXConfig.cmake >> sdl2_gfx-config.cmake 3.