SDL_mixer: cmake: disable building FLAC tests + creating FLAC manpages

From 58497bdb6ae7dee132bc538072ea3ce12a6e7c50 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Sat, 8 Oct 2022 23:20:23 +0200
Subject: [PATCH] cmake: disable building FLAC tests + creating FLAC manpages

---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 992f5bd3..42531895 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -507,6 +507,8 @@ if(SDL2MIXER_FLAC_LIBFLAC)
         set(BUILD_SHARED_LIBS "${SDL2MIXER_FLAC_LIBFLAC_SHARED}")
         set(INSTALL_CMAKE_CONFIG_MODULE OFF CACHE BOOL "Disable libflac installation")
         set(WITH_OGG OFF CACHE BOOL "Disable finding ogg using `find_package` (we have vendored it)")
+        set(BUILD_TESTS OFF CACHE BOOL "Build FLAC tests")
+        set(INSTALL_MANPAGES OFF CACHE BOOL "Install FLAC manpages")
         message(STATUS "Using vendored libflac")
         sdl_check_project_in_subfolder(external/flac libflac SDL2MIXER_VENDORED)
         add_subdirectory(external/flac EXCLUDE_FROM_ALL)