Skip to content

Update 'SDL2' package to v2.0.18#502

Merged
rbsheth merged 1 commit intocpp-pm:masterfrom
drodin:pr.sdl
Dec 20, 2021
Merged

Update 'SDL2' package to v2.0.18#502
rbsheth merged 1 commit intocpp-pm:masterfrom
drodin:pr.sdl

Conversation

@drodin
Copy link
Member

@drodin drodin commented Dec 17, 2021

  • I've followed this guide
    step by step carefully. [Yes]

From official repo.


VERSION
"2.0.18"
URL
"https://github.com/libsdl-org/SDL/archive/release-2.0.18.tar.gz"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SDL can now be used directly from upstream? I doubt SDL has no external dependencies for building. Or did they themself add Hunter support?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. It has no external dependencies. 2.0.12 only needed an alias for static lib (SDL2::SDL2 to SDL2::SDL2-static, for hunter backward compatibility), same as 2.0.16 (2.0.14 cmake was broken a lot, so I didn't bother). They finally put the exact same alias in SDL2Config.cmake in 2.0.18, so at least this version can be used from upstream.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's awesome! Thank you!

@rbsheth rbsheth merged commit e2424a4 into cpp-pm:master Dec 20, 2021
@rbsheth
Copy link
Member

rbsheth commented Dec 20, 2021

@drodin drodin deleted the pr.sdl branch January 11, 2022 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments