diff -r 6482875b0d97 -r 171da01bd04d QTfrontend/CMakeLists.txt --- a/QTfrontend/CMakeLists.txt Fri Nov 30 18:19:52 2012 +0400 +++ b/QTfrontend/CMakeLists.txt Tue Dec 04 09:15:55 2012 +0400 @@ -20,6 +20,9 @@ find_package(SDL_net REQUIRED) #network frontlib if(NOT NOVIDEOREC) find_package(FFMPEG) + if(${FFMPEG_FOUND}) + add_definitions(-DVIDEOREC -D__STDC_CONSTANT_MACROS) + endif() endif() include_directories(.) @@ -66,10 +69,6 @@ file(GLOB_RECURSE UIcpp ui/*.cpp) file(GLOB UtilCpp util/*.cpp) -if(${FFMPEG_FOUND}) - add_definitions(-DVIDEOREC -D__STDC_CONSTANT_MACROS) -endif() - set(hwfr_src ${ModelCpp} ${NetCpp}