pineapple-src/externals/vcpkg/ports/ffmpeg/usage

7 lines
283 B
Text
Raw Normal View History

2022-07-23 01:01:36 +00:00
To use ffmpeg add the following to your CMake project:
find_package(FFMPEG REQUIRED)
target_include_directories(main PRIVATE ${FFMPEG_INCLUDE_DIRS})
target_link_directories(main PRIVATE ${FFMPEG_LIBRARY_DIRS})
target_link_libraries(main PRIVATE ${FFMPEG_LIBRARIES})