QTfrontend/CMakeLists.txt
changeset 9959 1a42d36f346a
parent 9801 8fb7737fbd31
child 9961 c18c66d621e5
equal deleted inserted replaced
9957:7a62f31895ac 9959:1a42d36f346a
    20 endif()
    20 endif()
    21 
    21 
    22 find_package(SDL1or2)            #video in SDLInteraction
    22 find_package(SDL1or2)            #video in SDLInteraction
    23 find_package(SDL_mixer REQUIRED) #audio in SDLInteraction
    23 find_package(SDL_mixer REQUIRED) #audio in SDLInteraction
    24 
    24 
    25 if(${FFMPEG_FOUND})
    25 if(LIBAV_FOUND)
    26     add_definitions(-DVIDEOREC -D__STDC_CONSTANT_MACROS)
    26     add_definitions(-DVIDEOREC -D__STDC_CONSTANT_MACROS)
    27     include_directories(${FFMPEG_INCLUDE_DIR})
    27     include_directories(${LIBAV_INCLUDE_DIR})
    28     list(APPEND HW_LINK_LIBS ${FFMPEG_LIBRARIES})
    28     list(APPEND HW_LINK_LIBS ${LIBAV_LIBRARIES})
    29 endif()
    29 endif()
    30 
    30 
    31 # server messages localization
    31 # server messages localization
    32 file(GLOB ServerSources ${CMAKE_SOURCE_DIR}/gameServer/*.hs)
    32 file(GLOB ServerSources ${CMAKE_SOURCE_DIR}/gameServer/*.hs)
    33 foreach(hsfile ${ServerSources})
    33 foreach(hsfile ${ServerSources})