Skip to content

Commit

Permalink
remove system paths from ffmpeg search path
Browse files Browse the repository at this point in the history
  • Loading branch information
rainyl committed Nov 21, 2024
1 parent 69691f6 commit ec164a9
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions cmake/ffmpeg-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -203,15 +203,6 @@ macro(ffmpeg_find_component component)
HINTS ${PC_FFMPEG_${component}_INCLUDE_DIRS}
PATHS
"${FFMPEG_ROOT}/include"
~/Library/Frameworks
/Library/Frameworks
/usr/local/include
/usr/include
/sw/include # Fink
/opt/local/include # DarwinPorts
/opt/csw/include # Blastwave
/opt/include
/usr/freeware/include
DOC "FFMPEG component ${component_name} include directory"
)

Expand Down Expand Up @@ -241,17 +232,6 @@ macro(ffmpeg_find_component component)
PATHS
"${FFMPEG_ROOT}/lib"
"${FFMPEG_ROOT}/lib/${FFMPEG_ARCH}"
~/Library/Frameworks
/Library/Frameworks
/usr/local/lib
/usr/local/lib64
/usr/lib
/usr/lib64
/sw/lib
/opt/local/lib
/opt/csw/lib
/opt/lib
/usr/freeware/lib64
"${FFMPEG_ROOT}/bin"
"${FFMPEG_ROOT}/bin/${FFMPEG_ARCH}"
DOC "FFMPEG component ${component_name} location"
Expand Down

0 comments on commit ec164a9

Please sign in to comment.