Build: add "include/ffmpeg" to the include search path

Support the path used by ffmpeg-devel on Fedora.

Resolves #147952.
This commit is contained in:
Campbell Barton
2025-10-15 07:55:12 +00:00
parent be43077b1b
commit 365757ce7e

View File

@@ -47,6 +47,8 @@ find_path(_ffmpeg_INCLUDE_DIR
${_ffmpeg_SEARCH_DIRS} ${_ffmpeg_SEARCH_DIRS}
PATH_SUFFIXES PATH_SUFFIXES
include include
# Used by `ffmpeg-devel` on Fedora (see #147952).
include/ffmpeg
) )
set(_ffmpeg_LIBRARIES) set(_ffmpeg_LIBRARIES)