Skip to content

Commit

Permalink
CMake: Do not search for FFmpeg
Browse files Browse the repository at this point in the history
-DFFMPEG no longer requires FFmpeg to be present on the host system to
enable FFmpeg support.

Signed-off-by: Avery King <[email protected]>
  • Loading branch information
generic-pers0n committed Aug 27, 2024
1 parent 1065260 commit 84b719a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -590,13 +590,12 @@ else()
message(STATUS "SoundTouch timestretching support disabled. Requires SoundTouch library.")
endif()

find_package(FFMPEG)
cmake_dependent_option(FFMPEG "FFMPEG codecs support." ON "FFMPEG_FOUND" OFF)
option(FFMPEG "FFMPEG codecs support." ON)
if(FFMPEG)
set(USE_FFMPEG ON)
message(STATUS "FFMPEG codecs support enabled.")
else()
message(STATUS "FFMPEG codecs support disabled. Requires FFMPEG libraries.")
message(STATUS "FFMPEG codecs support disabled.")
endif()

find_package(VampHostSDK)
Expand Down

0 comments on commit 84b719a

Please sign in to comment.