Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
ZLMediaKit
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
张翔宇
ZLMediaKit
Commits
ff2e4cf1
Commit
ff2e4cf1
authored
May 28, 2022
by
xiongziliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加ffmpeg相关cmake文件
parent
a11289e5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
50 行增加
和
6 行删除
+50
-6
cmake/FindAVCODEC.cmake
+6
-2
cmake/FindAVFORMAT.cmake
+16
-0
cmake/FindAVUTIL.cmake
+6
-2
cmake/FindSWRESAMPLE.cmake
+6
-2
cmake/FindSWSCALE.cmake
+16
-0
没有找到文件。
cmake/FindAVCODEC.cmake
查看文件 @
ff2e4cf1
find_path
(
AVCODEC_INCLUDE_DIR
NAMES libavcodec/avcodec.h
)
NAMES libavcodec/avcodec.h
HINTS
${
FFMPEG_PATH_ROOT
}
PATH_SUFFIXES include
)
find_library
(
AVCODEC_LIBRARY
NAMES avcodec
)
NAMES avcodec
HINTS
${
FFMPEG_PATH_ROOT
}
PATH_SUFFIXES bin lib
)
set
(
AVCODEC_LIBRARIES
${
AVCODEC_LIBRARY
}
)
set
(
AVCODEC_INCLUDE_DIRS
${
AVCODEC_INCLUDE_DIR
}
)
...
...
cmake/FindAVFORMAT.cmake
0 → 100644
查看文件 @
ff2e4cf1
find_path
(
AVFORMAT_INCLUDE_DIR
NAMES libavformat/avformat.h
HINTS
${
FFMPEG_PATH_ROOT
}
PATH_SUFFIXES include
)
find_library
(
AVFORMAT_LIBRARY
NAMES avformat
HINTS
${
FFMPEG_PATH_ROOT
}
PATH_SUFFIXES bin lib
)
set
(
AVFORMAT_LIBRARIES
${
AVFORMAT_LIBRARY
}
)
set
(
AVFORMAT_INCLUDE_DIRS
${
AVFORMAT_INCLUDE_DIR
}
)
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
AVFORMAT DEFAULT_MSG AVFORMAT_LIBRARY AVFORMAT_INCLUDE_DIR
)
cmake/FindAVUTIL.cmake
查看文件 @
ff2e4cf1
find_path
(
AVUTIL_INCLUDE_DIR
NAMES libavutil/avutil.h
)
NAMES libavutil/avutil.h
HINTS
${
FFMPEG_PATH_ROOT
}
PATH_SUFFIXES include
)
find_library
(
AVUTIL_LIBRARY
NAMES avutil
)
NAMES avutil
HINTS
${
FFMPEG_PATH_ROOT
}
PATH_SUFFIXES bin lib
)
set
(
AVUTIL_LIBRARIES
${
AVUTIL_LIBRARY
}
)
set
(
AVUTIL_INCLUDE_DIRS
${
AVUTIL_INCLUDE_DIR
}
)
...
...
cmake/FindSWRESAMPLE.cmake
查看文件 @
ff2e4cf1
find_path
(
SWRESAMPLE_INCLUDE_DIR
NAMES libswresample/swresample.h
)
NAMES libswresample/swresample.h
HINTS
${
FFMPEG_PATH_ROOT
}
PATH_SUFFIXES include
)
find_library
(
SWRESAMPLE_LIBRARY
NAMES swresample
)
NAMES swresample
HINTS
${
FFMPEG_PATH_ROOT
}
PATH_SUFFIXES bin lib
)
set
(
SWRESAMPLE_LIBRARIES
${
SWRESAMPLE_LIBRARY
}
)
set
(
SWRESAMPLE_INCLUDE_DIRS
${
SWRESAMPLE_INCLUDE_DIR
}
)
...
...
cmake/FindSWSCALE.cmake
0 → 100644
查看文件 @
ff2e4cf1
find_path
(
SWSCALE_INCLUDE_DIR
NAMES libswscale/swscale.h
HINTS
${
FFMPEG_PATH_ROOT
}
PATH_SUFFIXES include
)
find_library
(
SWSCALE_LIBRARY
NAMES swscale
HINTS
${
FFMPEG_PATH_ROOT
}
PATH_SUFFIXES bin lib
)
set
(
SWSCALE_LIBRARIES
${
SWSCALE_LIBRARY
}
)
set
(
SWSCALE_INCLUDE_DIRS
${
SWSCALE_INCLUDE_DIR
}
)
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
SWSCALE DEFAULT_MSG SWSCALE_LIBRARY SWSCALE_INCLUDE_DIR
)
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论