mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 00:51:49 +08:00
7 lines
283 B
Plaintext
7 lines
283 B
Plaintext
|
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})
|