zdoom-macos-deps/patch/fluidsynth-sf3-support.diff
alexey.lysiuk e7336c4e8c aedi: patch fluidsynth sf3 support
detection of sndfile vorbis/mpeg support is a bit broken right now
* native target doesn't detect it because of missing flac symbols, can be fixes with `-lFLAC` linker option
* cross-compiled target doesn't detect it even with the given linker option
2024-03-28 16:01:19 +02:00

11 lines
449 B
Diff

--- a/cmake_admin/FindSndFile.cmake
+++ b/cmake_admin/FindSndFile.cmake
@@ -70,7 +70,7 @@
# Check the features SndFile was built with
# 2024-01-02: Recent versions of libsndfile don't seem to provide a pkgconfig file and older version who did are lacking private libraries like OGG.
-if(FALSE) #PC_SNDFILE_FOUND
+if(TRUE) #PC_SNDFILE_FOUND
if("vorbis" IN_LIST PC_SNDFILE_STATIC_LIBRARIES)
set(SndFile_WITH_EXTERNAL_LIBS TRUE)
endif()