QTfrontend/CMakeLists.txt
branchflibqtfrontend
changeset 8208 171da01bd04d
parent 8126 5bfa1b2025d6
parent 8183 9b1c206a6cf2
child 8278 9cdfcb5b7ddd
--- 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}