vcpkg/ports/fluidsynth/pkgconfig-opensles.diff

13 lines
370 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 604e6b0..e315df5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -748,6 +748,7 @@ endif ( enable-midishare )
unset ( OPENSLES_SUPPORT CACHE )
if ( enable-opensles )
find_package( OpenSLES )
+ list ( APPEND PC_LIBS_PRIV "-lOpenSLES" )
set ( OPENSLES_SUPPORT ${OpenSLES_FOUND} )
endif ( enable-opensles )