hedgewars/CMakeLists.txt
changeset 9274 9749524d1767
parent 9271 118cc5c1f677
child 9285 8e8b908970c2
--- a/hedgewars/CMakeLists.txt	Thu Jun 27 12:09:24 2013 +0200
+++ b/hedgewars/CMakeLists.txt	Thu Jun 27 12:18:35 2013 +0200
@@ -105,6 +105,8 @@
     list(APPEND HW_LINK_LIBS avwrapper)
     add_definitions(-dUSE_VIDEO_RECORDING)
     add_flag_append(CMAKE_Pascal_FLAGS -Fl${LIBRARY_OUTPUT_PATH})
+    #only for SDL < 2, linking carried out by fpc
+    find_package_or_disable_msg(GLUT NOVIDEOREC "Video recording will not be built")
 endif()
 
 find_package_or_disable_msg(PNG NOPNG "Screenshots will be saved in BMP")