equal
deleted
inserted
replaced
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}) |