Skip to content

Conversation

@jimwang118
Copy link
Contributor

@jimwang118 jimwang118 commented Mar 8, 2023

Fixes #30026

CMake Error at CMakeLists.txt:33 (target_link_libraries):
  Target "tsdl2" links to:

    SDL2_mixer::SDL2_mixer

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Add dependencies when linking sdl2pp in the protfile.cmake file.

  • Changes comply with the maintainer guide
  • SHA512s are updated for each updated download
  • The "supports" clause reflects platforms that may be fixed by this new version
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

@jimwang118 jimwang118 added category:port-bug The issue is with a library, which is something the port should already support info:internal labels Mar 8, 2023
@jimwang118 jimwang118 marked this pull request as ready for review March 13, 2023 07:56
@LilyWangLL LilyWangLL added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Mar 14, 2023
@dan-shaw dan-shaw merged commit 4674f57 into microsoft:master Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:port-bug The issue is with a library, which is something the port should already support info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[sdl2-mixer] installed but the target was not found

4 participants