hedgewars/CMakeLists.txt
changeset 9959 1a42d36f346a
parent 9945 c4ae96531f8c
child 9961 c18c66d621e5
equal deleted inserted replaced
9957:7a62f31895ac 9959:1a42d36f346a
   110     #on OSX we need to provide the SDL_main() function when building as executable
   110     #on OSX we need to provide the SDL_main() function when building as executable
   111     add_subdirectory(sdlmain)
   111     add_subdirectory(sdlmain)
   112     list(APPEND HW_LINK_LIBS SDLmain)
   112     list(APPEND HW_LINK_LIBS SDLmain)
   113 endif()
   113 endif()
   114 
   114 
   115 if(FFMPEG_FOUND)
   115 if(LIBAV_FOUND)
   116     add_subdirectory(avwrapper)
   116     add_subdirectory(avwrapper)
   117     list(APPEND HW_LINK_LIBS avwrapper)
   117     list(APPEND HW_LINK_LIBS avwrapper)
   118     add_definitions(-dUSE_VIDEO_RECORDING)
   118     add_definitions(-dUSE_VIDEO_RECORDING)
   119     #only for SDL < 2, linking carried out by fpc
   119     #only for SDL < 2, linking carried out by fpc
   120     find_package_or_disable_msg(GLUT NOVIDEOREC "Video recording will not be built")
   120     find_package_or_disable_msg(GLUT NOVIDEOREC "Video recording will not be built")