hedgewars/CMakeLists.txt
changeset 7813 7ac83d79b897
parent 7812 00696c1450da
child 7816 a25e943dd4b0
equal deleted inserted replaced
7812:00696c1450da 7813:7ac83d79b897
   199 endif()
   199 endif()
   200 
   200 
   201 
   201 
   202 if(NOT NOVIDEOREC)
   202 if(NOT NOVIDEOREC)
   203     if(${FFMPEG_FOUND})
   203     if(${FFMPEG_FOUND})
   204         message(STATUS "Found FFMPEG: ${FFMPEG_LIBRARIES}")
       
   205         include_directories(${FFMPEG_INCLUDE_DIR})
   204         include_directories(${FFMPEG_INCLUDE_DIR})
   206         set(pascal_flags "-dUSE_VIDEO_RECORDING" ${pascal_flags})
   205         set(pascal_flags "-dUSE_VIDEO_RECORDING" ${pascal_flags})
   207         IF (WIN32)
   206         IF (WIN32)
   208             # there are some problems with linking our avwrapper as static lib, so link it as shared
   207             # there are some problems with linking our avwrapper as static lib, so link it as shared
   209             add_library(avwrapper SHARED avwrapper.c)
   208             add_library(avwrapper SHARED avwrapper.c)