QTfrontend/CMakeLists.txt
changeset 9959 1a42d36f346a
parent 9801 8fb7737fbd31
child 9961 c18c66d621e5
--- a/QTfrontend/CMakeLists.txt	Wed Jan 08 18:57:23 2014 +0100
+++ b/QTfrontend/CMakeLists.txt	Wed Jan 08 19:19:09 2014 +0100
@@ -22,10 +22,10 @@
 find_package(SDL1or2)            #video in SDLInteraction
 find_package(SDL_mixer REQUIRED) #audio in SDLInteraction
 
-if(${FFMPEG_FOUND})
+if(LIBAV_FOUND)
     add_definitions(-DVIDEOREC -D__STDC_CONSTANT_MACROS)
-    include_directories(${FFMPEG_INCLUDE_DIR})
-    list(APPEND HW_LINK_LIBS ${FFMPEG_LIBRARIES})
+    include_directories(${LIBAV_INCLUDE_DIR})
+    list(APPEND HW_LINK_LIBS ${LIBAV_LIBRARIES})
 endif()
 
 # server messages localization