mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 10:06:40 -04:00
Fails to build with FFmpeg 6 PR: 270207 Approved by: portmgr (blanket, build fix) Sponsored by: Blinkinblox
10 lines
500 B
CMake
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)
|