SDL_mixer: cmake: disable OP_DISABLE_EXAMPLES for vendored opusfile

From d3f7ca7998eb7a193ddde4514989507c9fbd119d Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Sat, 8 Oct 2022 21:11:47 +0200
Subject: [PATCH] cmake: disable OP_DISABLE_EXAMPLES for vendored opusfile

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index fc09090f..2ba8e0e1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -341,6 +341,7 @@ if(SDL2MIXER_OPUS)
         add_subdirectory(external/opus EXCLUDE_FROM_ALL)
 
         set(OP_DISABLE_DOCS TRUE CACHE BOOL "Disable opusfile documentation")
+        set(OP_DISABLE_EXAMPLES TRUE CACHE BOOL "Disable opusfile examples")
         set(OP_DISABLE_HTTP TRUE CACHE BOOL "Disable opusfile HTTP SUPPORT")
         message(STATUS "Using vendored opusfile")
         set(BUILD_SHARED_LIBS ${SDL2MIXER_OPUS_SHARED})