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