Use FFmpeg include path for things that use FFmpeg.
This commit is contained in:
parent
c6aa823d20
commit
1df30ef8c4
2 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
#
|
||||
|
||||
if(CURSES_FOUND AND FFMPEG_FOUND)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/tools ${CURSES_INCLUDE_DIR})
|
||||
include_directories(${CMAKE_SOURCE_DIR}/tools ${CURSES_INCLUDE_DIR} ${FFMPEG_INCLUDE_DIR})
|
||||
|
||||
add_executable(slides
|
||||
main.c 3ddemos.c static.c metaballs.c circlescope.c avstream.c video.c pong.c
|
||||
|
|
|
@ -23,6 +23,7 @@ add_executable(playilda playilda.c)
|
|||
target_link_libraries(playilda ${JACK_LIBRARIES})
|
||||
|
||||
if(FFMPEG_FOUND)
|
||||
include_directories(${FFMPEG_INCLUDE_DIR})
|
||||
add_executable(playvid playvid.c)
|
||||
target_link_libraries(playvid openlase ${FFMPEG_LIBRARIES})
|
||||
else()
|
||||
|
|
Loading…
Add table
Reference in a new issue