hedgewars/CMakeLists.txt
changeset 9274 9749524d1767
parent 9271 118cc5c1f677
child 9285 8e8b908970c2
equal deleted inserted replaced
9271:118cc5c1f677 9274:9749524d1767
   103 if(FFMPEG_FOUND)
   103 if(FFMPEG_FOUND)
   104     add_subdirectory(avwrapper)
   104     add_subdirectory(avwrapper)
   105     list(APPEND HW_LINK_LIBS avwrapper)
   105     list(APPEND HW_LINK_LIBS avwrapper)
   106     add_definitions(-dUSE_VIDEO_RECORDING)
   106     add_definitions(-dUSE_VIDEO_RECORDING)
   107     add_flag_append(CMAKE_Pascal_FLAGS -Fl${LIBRARY_OUTPUT_PATH})
   107     add_flag_append(CMAKE_Pascal_FLAGS -Fl${LIBRARY_OUTPUT_PATH})
       
   108     #only for SDL < 2, linking carried out by fpc
       
   109     find_package_or_disable_msg(GLUT NOVIDEOREC "Video recording will not be built")
   108 endif()
   110 endif()
   109 
   111 
   110 find_package_or_disable_msg(PNG NOPNG "Screenshots will be saved in BMP")
   112 find_package_or_disable_msg(PNG NOPNG "Screenshots will be saved in BMP")
   111 if(PNG_FOUND)
   113 if(PNG_FOUND)
   112     list(APPEND engine_sources PNGh.pas)
   114     list(APPEND engine_sources PNGh.pas)