SDL_mixer: cmake: don't install headers and import libraries of vendored libs (3fa79)

From 3fa798681774f3d09dc1f684b815f481d1185d78 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Mon, 4 Dec 2023 21:16:48 +0100
Subject: [PATCH] cmake: don't install headers and import libraries of vendored
 libs

Users of SDL_mixer should link to SDL_mixer, not the decoder libraries.

SDL2 backport of 9aa0cd33e9809cc3f83bbfaee76dda76b7182027
---
 CMakeLists.txt | 2 --
 1 file changed, 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ef2ff25a..9fc48ff5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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()