From ca62a530bfb4e72a4ecd0c2364b91d0cf830ee43 Mon Sep 17 00:00:00 2001
From: Duncan Steele <[EMAIL REDACTED]>
Date: Mon, 15 Feb 2021 20:05:46 +0000
Subject: [PATCH] Fix for build with SUPPORT_OGG on Android
vorbisfile target does not exist and this breaks the build on Android with CMake.
This seems to be referring to vorbisfile.c, which is part of `libvorbisidec`.
Removing it fixes the build.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 79b5a31..ce44e1b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,7 +40,7 @@ if (ANDROID)
add_subdirectory(external/libogg-1.3.2)
add_subdirectory(external/libvorbisidec-1.2.1)
include_directories(external/libvorbisidec-1.2.1)
- target_link_libraries(SDL2_mixer PRIVATE vorbisfile vorbisidec ogg)
+ target_link_libraries(SDL2_mixer PRIVATE vorbisidec ogg)
endif()
if (SUPPORT_MP3_MPG123)