Skip to content

build(cmake): detect and use SDL2 include path correctly#193

Merged
NeroBurner merged 1 commit intoInfiniTimeOrg:mainfrom
muesli:cmake-sdl
Mar 27, 2026
Merged

build(cmake): detect and use SDL2 include path correctly#193
NeroBurner merged 1 commit intoInfiniTimeOrg:mainfrom
muesli:cmake-sdl

Conversation

@muesli
Copy link
Copy Markdown
Contributor

@muesli muesli commented Mar 26, 2026

Not all distros/packages place the SDL2 installation into a directory named SDL2. Just to name a prominent example: Homebrew.

cmake's find_package will correctly identify SDL2 and provide the required include/lib paths.

Not all distros/packages place the SDL2 installation into a
directory named SDL2. Just to name a prominent example: Homebrew.

cmake's find_package will correctly identify SDL2 and provide the
required include/lib paths.
Copy link
Copy Markdown
Collaborator

@NeroBurner NeroBurner left a comment

Choose a reason for hiding this comment

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

works locally for me as well (Arch by the way ;) )

@NeroBurner NeroBurner merged commit 28d7257 into InfiniTimeOrg:main Mar 27, 2026
1 check passed
@muesli muesli deleted the cmake-sdl branch March 28, 2026 00: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.

2 participants