update CMakeLists to make no ffmpeg need when ffmpeg off

This commit is contained in:
sirius 2019-10-03 19:01:25 +08:00
parent 4f3f3d2a61
commit 1090953b7d

View file

@ -314,7 +314,9 @@ find_package(Opusfile)
find_package(Pnglite)
find_package(PythonInterp)
find_package(SDL2)
find_package(ffmpeg)
if(FFMPEG)
find_package(ffmpeg)
endif()
find_package(Threads)
find_package(Wavpack)
if(WEBSOCKETS)