[SDL2] Why it doesn't provide package configuration files for CMake?

https://bugzilla.libsdl.org/show_bug.cgi?id=2464

I tried to add FindSDL2*.cmake to CMake repo on github, here’s the answer:

"Thanks for working on this. However, as discussed here:

http://www.cmake.org/Bug/view.php?id=14826#c35508

since SDL2 builds with CMake they should provide package configuration
files as documented in the cmake-packages(7) manual:

http://www.cmake.org/cmake/help/v3.2/manual/cmake-packages.7.html

CMake upstream should not have to maintain builtin knowledge about every
library of every package out there, especially not those that are already
CMake-aware. The place to contribute support for using SDL2 from
CMake-based applications is to SDL2."

Oh, another cmake thread.

Yeah, please merge that, having to provide my own FindSDL2.cmake in my
projects sucks.

Cheers,
DanielOn 05/07/2015 03:37 PM, Quentin Bazin wrote:

Configure a sdl2-config.cmake.in together with sdl2.pc.in · Issue #1415 · libsdl-org/SDL · GitHub

I tried to add FindSDL2*.cmake to CMake repo on github, here’s the answer:

"Thanks for working on this. However, as discussed here:

http://www.cmake.org/Bug/view.php?id=14826#c35508

since SDL2 builds with CMake they should provide package configuration
files as documented in the cmake-packages(7) manual:

cmake-packages(7) — CMake 3.2.3 Documentation

CMake upstream should not have to maintain builtin knowledge about every
library of every package out there, especially not those that are
already CMake-aware. The place to contribute support for using SDL2 from
CMake-based applications is to SDL2."