From 2f321524d894e3bed7b7a8147a976b4224b568e0 Mon Sep 17 00:00:00 2001 From: NeoBrainX Date: Tue, 13 Sep 2011 16:39:28 +0200 Subject: [PATCH] Add libav headers to the include directories. Fixes issue 4811. --- CMakeTests/CheckLib.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeTests/CheckLib.cmake b/CMakeTests/CheckLib.cmake index c1174ecb58..affc92ae8f 100644 --- a/CMakeTests/CheckLib.cmake +++ b/CMakeTests/CheckLib.cmake @@ -63,6 +63,7 @@ macro(check_libav) if(LIBAV_FOUND) message("libav found, enabling AVI frame dumps") add_definitions(-DHAVE_LIBAV) + include_directories(${LIBAV_INCLUDE_DIRS}) else() message("libav not found, disabling AVI frame dumps") endif()