Clion导入ffmpeg
-
将ffmpeg库文件放入工程的根目录下
- 修改CmakeLists.txt 文件
include_directories(${PROJECT_SOURCE_DIR}/FFmpeg-iOS/include)
target_link_libraries(List ${PROJECT_SOURCE_DIR}/FFmpeg-iOS/lib)
将ffmpeg库文件放入工程的根目录下
include_directories(${PROJECT_SOURCE_DIR}/FFmpeg-iOS/include)
target_link_libraries(List ${PROJECT_SOURCE_DIR}/FFmpeg-iOS/lib)