Skip to content

Use CMake to check for image library support - #98

Merged
dogo merged 1 commit into
dogo:masterfrom
jopadan:master
Oct 16, 2025
Merged

Use CMake to check for image library support#98
dogo merged 1 commit into
dogo:masterfrom
jopadan:master

Conversation

@jopadan

@jopadan jopadan commented Oct 15, 2025

Copy link
Copy Markdown
  • adds cmake/IMG.cmake to list supported image format loader/writers in src/image/format
  • Uses the find_package name of the image format library as the filename suffix
  • use CMake header/lib check instead of giflib submodule #99
  • simplifies the addition of image format loader/writer/s with just simply putting the .c file in src/image/format
  • any image format library if it is installed in the pspdev environment and is detectable by find_package should work.
  • remove png/zonf source

@dogo

dogo commented Oct 16, 2025

Copy link
Copy Markdown
Owner

Make sense.

@dogo
dogo merged commit 9fa251b into dogo:master Oct 16, 2025
2 checks passed
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