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:
parent
29c7c69521
commit
a30a054df4
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user