Use FFmpeg include path for things that use FFmpeg.

This commit is contained in:
Drew Fisher 2011-11-14 18:17:52 -08:00 committed by Hector Martin
parent c6aa823d20
commit 1df30ef8c4
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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()