--- a/QTfrontend/CMakeLists.txt Tue Aug 28 22:32:19 2012 +0400
+++ b/QTfrontend/CMakeLists.txt Tue Aug 28 22:33:17 2012 +0400
@@ -28,7 +28,7 @@
# Configure for SDL
find_package(SDL REQUIRED)
find_package(SDL_mixer REQUIRED)
-find_package(FFMPEG REQUIRED)
+find_package(FFMPEG)
include_directories(.)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/model)
@@ -73,6 +73,10 @@
file(GLOB_RECURSE UIcpp ui/*.cpp)
file(GLOB UtilCpp util/*.cpp)
+if((NOT NO_VIDEOREC) AND ${FFMPEG_FOUND})
+ add_definitions(-DVIDEOREC)
+endif()
+
set(hwfr_src
${ModelCpp}
${NetCpp}