mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-14 16:31:30 +00:00
e7336c4e8c
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
11 lines
449 B
Diff
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()
|