ports/graphics/osg34/files/patch-CMakeModules_FindFFmpeg.cmake
Daniel Engberg 8ae71fbb33 graphics/osg*: Move to FFmpeg 4
Fails to build with FFmpeg 6

PR:		270207
Approved by:	portmgr (blanket, build fix)
Sponsored by:	Blinkinblox
2023-04-27 14:01:42 +02:00

10 lines
500 B
CMake

--- CMakeModules/FindFFmpeg.cmake.orig 2023-04-24 09:18:12 UTC
+++ CMakeModules/FindFFmpeg.cmake
@@ -21,6 +21,7 @@
# (in new version case, use by ffmpeg header)
#and ${FFMPEG_libname_INCLUDE_DIRS/libname} (in new version case, use by osg plugin code)
+set(CMAKE_PREFIX_PATH "%%LOCALBASE%%/ffmpeg4;%%LOCALBASE%%/ffmpeg4/libexec")
# Macro to find header and lib directories
# example: FFMPEG_FIND(AVFORMAT avformat avformat.h)