build: make ffmpeg optional on os x

FFMPEG isn't installed per default on os x so it should be optional
instead of suggested.
This commit is contained in:
Bernhard Miklautz 2012-01-27 02:32:06 +01:00
parent 29c7c69521
commit a30a054df4

View File

@ -111,10 +111,12 @@ if(NOT WIN32)
find_optional_package(PulseAudio) find_optional_package(PulseAudio)
find_optional_package(PCSC) find_optional_package(PCSC)
find_suggested_package(Cups) find_suggested_package(Cups)
find_suggested_package(FFmpeg)
if(NOT APPLE) if(NOT APPLE)
find_suggested_package(FFmpeg)
find_suggested_package(ALSA) find_suggested_package(ALSA)
else(NOT APPLE)
find_optional_package(FFmpeg)
endif() endif()
endif() endif()