New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debian package provides bad sdl2-config.cmake #2852
Comments
@smcv Any chance you can look at this and decide if this is our fault or Debian's (or not an issue at all anymore)? |
Debian is building SDL using Autotools, and that gives us a If I understand the bug report correctly, this was mostly the upstream issue that the Autotools build used to generate a The only Debian-specific alterations we make to the build system, outside tests, are to support multiarch co-installation so that you can have i386 and x86_64 versions of SDL development files installed system-wide at the same time:
I haven't sent those changes upstream, because they would be wrong when SDL is built locally and installed to paths other than the ones Debian uses. We have automated tests for a couple of different use-cases for how to use SDL from CMake (once with
If that's correct, then it seems to work fine as-is with the current libsdl2 (2.0.20+dfsg-2) in Debian unstable, and we now have test coverage that will stop me from uploading a new SDL where that doesn't build successfully. |
autotools and CMake are now considered roughly equivalent, with differences between them worthy of bug reports. I just use autotools myself, so it's easier for me to verify fixes and implement new changes there, but lots of people use CMake and it's fully supported. That said, I don't know how to link a CMake program with SDL, so I'll have to defer to other folks on your question there. It sounds like this bug is fixed, and new issues can be opened for specific deficiencies at this point. Thanks! |
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: HG 2.1
Reported for operating system, platform: Linux, x86_64
Comments on the original bug report:
On 2018-03-25 15:17:02 +0000, Raphnalor wrote:
On 2018-04-17 10:35:39 +0000, Harry Wagstaff wrote:
On 2018-05-20 05:14:18 +0000, Tim Aitken wrote:
On 2018-05-28 15:47:40 +0000, Leonardo wrote:
On 2019-04-13 19:00:24 +0000, Leonardo wrote:
On 2020-02-07 15:22:49 +0000, wrote:
On 2020-04-19 16:17:35 +0000, Matt Scheirer wrote:
On 2020-04-20 07:03:10 +0000, wrote:
The text was updated successfully, but these errors were encountered: