Link to all ffmpeg libraries, not just to avdevice.
authorReto Schneider <github@reto-schneider.ch>
Sun, 18 Mar 2012 22:45:48 +0000 (23:45 +0100)
committerReto Schneider <github@reto-schneider.ch>
Sun, 18 Mar 2012 22:45:48 +0000 (23:45 +0100)
examples/CMakeLists.txt

index c70d121..234e666 100644 (file)
@@ -28,7 +28,7 @@ endif()
 add_executable(am7xxx-play am7xxx-play.c)
 
 target_link_libraries(am7xxx-play am7xxx
-  ${FFMPEG_LIBAVDEVICE_LIBRARIES}
+  ${FFMPEG_LIBRARIES}
   ${FFMPEG_LIBSWSCALE_LIBRARIES}
   ${LIBXCB_LIBRARIES})
 install(TARGETS am7xxx-play