You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: 2.0.10 Reported for operating system, platform: All, All
Comments on the original bug report:
On 2020-02-07 15:43:39 +0000, wrote:
The sdl2-config.cmake generated by configure does not contain the version.
The variables PACKAGE_VERSION (and optionally) SDL2_VERSION should be set there too. Otherwise e.g. find_package(SDL2 2.0.10) will fail as it finds the config but not the version
I took a shot at this myself and additionally created the targets that would be created by the CMake scripts. The resulting files on my system look like this:
sdl2-config.cmake:
sdl2 cmake project-config input for ./configure scripts
Created attachment 4224
Patch without autogen changes
On 2020-02-20 14:08:56 +0000, wrote:
Note that the patch(es) were created on top of 2.0.10. Your changes from https://hg.libsdl.org/SDL/rev/d62544e5fa7a may need to be reverted first (not required after this patch as CMake will set SDL2_VERSION and SDL2_VERSION_* variables)
On 2020-02-21 20:53:24 +0000, Ryan C. Gordon wrote:
This results in an incorrect library suffix being used on macOS (originally reported in macports/macports-ports#6581).
Would you like me to open a new bug for this issue?
On 2020-03-16 09:32:01 +0000, wrote:
Sorry for the wrong suffix. Best would be to use CMAKE_SHARED_LIBRARY_SUFFIX and CMAKE_STATIC_LIBRARY_SUFFIX. But it needs double-checking with the code generating the library names. As I don't know autotools well enough, I'll leave this to someone else. But my bet would be that using CMAKE_*_LIBRARY_SUFFIX solves the problem already.
On 2020-03-16 19:15:56 +0000, Sam Lantinga wrote:
Ryan, this is a regression, can you look at this ASAP?
On 2020-03-16 19:16:33 +0000, Sam Lantinga wrote:
Actually, Joshua, can you open a new bug for the regression?
Thanks!
On 2020-03-17 02:23:32 +0000, Joshua Root wrote:
(In reply to Sam Lantinga from comment # 13)
Actually, Joshua, can you open a new bug for the regression?
Done: bug 5039.
On 2020-03-17 07:24:46 +0000, wrote:
FWIW: This is NOT a regression as only the new feature (the target) is affected. The old Variables which existed before are untouched
But yes should be changed ASAP
The text was updated successfully, but these errors were encountered:
Ubuntu 20.04's SDL was built with Autotools and is older than
libsdl-org/SDL#3531, so it doesn't define
the SDL2::SDL2 target.
Signed-off-by: Simon McVittie <smcv@collabora.com>
sezero
pushed a commit
to libsdl-org/SDL_ttf
that referenced
this issue
May 6, 2022
Ubuntu 20.04's SDL was built with Autotools and is older than
libsdl-org/SDL#3531, so it doesn't define
the SDL2::SDL2 target.
Signed-off-by: Simon McVittie <smcv@collabora.com>
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 2.0.10
Reported for operating system, platform: All, All
Comments on the original bug report:
On 2020-02-07 15:43:39 +0000, wrote:
On 2020-02-14 18:38:21 +0000, Ryan C. Gordon wrote:
On 2020-02-20 14:06:45 +0000, wrote:
On 2020-02-20 14:07:21 +0000, wrote:
On 2020-02-20 14:08:56 +0000, wrote:
On 2020-02-21 20:53:24 +0000, Ryan C. Gordon wrote:
On 2020-02-24 08:30:10 +0000, wrote:
On 2020-03-01 20:38:33 +0000, Sam Lantinga wrote:
On 2020-03-02 09:25:10 +0000, wrote:
On 2020-03-02 22:53:12 +0000, Sam Lantinga wrote:
On 2020-03-15 03:08:36 +0000, Joshua Root wrote:
On 2020-03-16 09:32:01 +0000, wrote:
On 2020-03-16 19:15:56 +0000, Sam Lantinga wrote:
On 2020-03-16 19:16:33 +0000, Sam Lantinga wrote:
On 2020-03-17 02:23:32 +0000, Joshua Root wrote:
On 2020-03-17 07:24:46 +0000, wrote:
The text was updated successfully, but these errors were encountered: