Skip to content

[sdl2-image/mixer/net/ttf] Update to exported targets names. #25284

@FtZPetruska

Description

@FtZPetruska

Description

Recently, a major CMake rework was done in the SDL2 subprojects, adding a consistent naming for the targets. Unfortunately, the naming chosen is inconsistent with the one used by vcpkg's ports.

The new naming consists in:

  • The namespace SDL2_XXX:: where XXX is the name of the subproject
  • A static target SDL2_XXX::SDL_XXX-static linked to SDL2::SDL2-static
  • A dynamic target SDL2_XXX::SDL_XXX linked to SDL2::SDL2

Proposed solution

Adopt the naming chosen by the maintainers.

Alternatives

To avoid breaking existing projects/ports, the targets currently in use by vcpkg could be kept as an alias of the new one with a deprecation message, similar to what is currently done in SDL_ttf.

Additional context

Related PRs:

Metadata

Metadata

Assignees

Labels

category:port-updateThe issue is with a library, which is requesting update new revision

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions