Commit e87a5d0b authored by jehan's avatar jehan

fix FindFFMpeg.cmake for centos7

parent d2aa1508
......@@ -31,21 +31,21 @@ include(CheckSymbolExists)
find_path(LIBAVCODEC_INCLUDE_DIRS
NAMES libavcodec/avcodec.h
PATH_SUFFIXES include
PATH_SUFFIXES include include/ffmpeg
)
if(LIBAVCODEC_INCLUDE_DIRS)
set(HAVE_LIBAVCODEC_AVCODEC_H 1)
endif()
find_path(LIBAVUTIL_INCLUDE_DIRS
NAMES libavutil/avutil.h
PATH_SUFFIXES include
PATH_SUFFIXES include include/ffmpeg
)
if(LIBAVUTIL_INCLUDE_DIRS)
set(HAVE_LIBAVUTIL_AVUTIL_H 1)
endif()
find_path(LIBSWSCALE_INCLUDE_DIRS
NAMES libswscale/swscale.h
PATH_SUFFIXES include
PATH_SUFFIXES include include/ffmpeg
)
if(LIBSWSCALE_INCLUDE_DIRS)
set(HAVE_LIBSWSCALE_SWSCALE_H 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment