Skip to content

Commit

Permalink
cmake: don't install headers and import libraries of vendored libs
Browse files Browse the repository at this point in the history
Users of SDL_mixer should link to SDL_mixer, not the decoder libraries.

SDL2 backport of 9aa0cd3
  • Loading branch information
madebr committed Dec 4, 2023
1 parent 9ec0e0e commit 3fa7986
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -901,10 +901,8 @@ if(SDL2MIXER_INSTALL)
if(INSTALL_EXTRA_TARGETS)
install(TARGETS ${INSTALL_EXTRA_TARGETS}
EXPORT SDL2MixerTargets
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT devel
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT library
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT library
PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" COMPONENT devel
)
endif()

Expand Down

0 comments on commit 3fa7986

Please sign in to comment.