advice from hasufell 0.9.18
authorkoda
Wed, 07 Nov 2012 05:17:07 +0100
branch0.9.18
changeset 7954 a5f0a6d46c52
parent 7950 6b2c11c93636
child 7958 c031c3e2eb2a
child 7994 706218709157
advice from hasufell
INSTALL
hedgewars/CMakeLists.txt
--- a/INSTALL	Mon Nov 05 17:11:28 2012 -0500
+++ b/INSTALL	Wed Nov 07 05:17:07 2012 +0100
@@ -13,6 +13,9 @@
  - bytestring-show package
  - dataenc package
  - hslogger package
+For videorecording:
+ - FFmpeg or LibAV
+ - GLUT (when SDL < 2)
 
 1. Configure:
 $ cmake .
--- a/hedgewars/CMakeLists.txt	Mon Nov 05 17:11:28 2012 -0500
+++ b/hedgewars/CMakeLists.txt	Wed Nov 07 05:17:07 2012 +0100
@@ -208,6 +208,11 @@
     set(FFMPEG_FIND_QUIETLY true)
     find_package(FFMPEG)
     if(${FFMPEG_FOUND})
+        # TODO: this check is only for SDL < 2
+        # fpc will take care of linking but we need to have this library installed
+        find_package(GLUT REQUIRED)
+
+        #TODO: convert avwrapper to .pas unit so we can skip this step
         include_directories(${FFMPEG_INCLUDE_DIR})
         set(pascal_flags "-dUSE_VIDEO_RECORDING" ${pascal_flags})
         IF (WIN32)
@@ -265,7 +270,7 @@
 endif()
 
 #when ffmpeg/libav is found we need to compile it before engine
-#TODO: convert avwrapper to .pas unit so we can skip this
+#TODO: convert avwrapper to .pas unit so we can skip this step
 if(${FFMPEG_FOUND})
     add_dependencies(${engine_output_name} avwrapper)
 endif()