From 5ce73e92741c80607368b1b28eb53740720d162f Mon Sep 17 00:00:00 2001 From: Jan Haller Date: Mon, 23 Mar 2015 15:31:50 +0100 Subject: [PATCH] FindSFML.cmake: Added missing VorbisEnc dependency --- cmake/Modules/FindSFML.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/Modules/FindSFML.cmake b/cmake/Modules/FindSFML.cmake index c8f9414f..7aafc74c 100644 --- a/cmake/Modules/FindSFML.cmake +++ b/cmake/Modules/FindSFML.cmake @@ -325,10 +325,11 @@ if(SFML_STATIC_LIBRARIES) find_sfml_dependency(OGG_LIBRARY "Ogg" ogg) find_sfml_dependency(VORBIS_LIBRARY "Vorbis" vorbis) find_sfml_dependency(VORBISFILE_LIBRARY "VorbisFile" vorbisfile) + find_sfml_dependency(VORBISENC_LIBRARY "VorbisEnc" vorbisenc) find_sfml_dependency(FLAC_LIBRARY "FLAC" flac) # update the list - set(SFML_AUDIO_DEPENDENCIES ${OPENAL_LIBRARY} ${FLAC_LIBRARY} ${VORBISFILE_LIBRARY} ${VORBIS_LIBRARY} ${OGG_LIBRARY}) + set(SFML_AUDIO_DEPENDENCIES ${OPENAL_LIBRARY} ${FLAC_LIBRARY} ${VORBISENC_LIBRARY} ${VORBISFILE_LIBRARY} ${VORBIS_LIBRARY} ${OGG_LIBRARY}) set(SFML_DEPENDENCIES ${SFML_DEPENDENCIES} ${SFML_AUDIO_DEPENDENCIES}) endif()