--- a/hedgewars/CMakeLists.txt Wed Oct 24 18:44:23 2012 +0100
+++ b/hedgewars/CMakeLists.txt Thu Oct 25 01:16:13 2012 +0200
@@ -3,6 +3,7 @@
find_package(SDL_net)
find_package(SDL_ttf)
find_package(SDL_mixer)
+set(FFMPEG_FIND_QUIETLY true)
find_package(FFMPEG)
include(${CMAKE_MODULE_PATH}/FindSDL_Extras.cmake)
@@ -211,13 +212,12 @@
ELSE()
add_library(avwrapper STATIC avwrapper.c)
set(pascal_flags "-k${FFMPEG_LIBAVCODEC}" "-k${FFMPEG_LIBAVFORMAT}" "-k${FFMPEG_LIBAVUTIL}" ${pascal_flags})
- # set(pascal_flags "-k${LIBRARY_OUTPUT_PATH}/${CMAKE_STATIC_LIBRARY_PREFIX}avwrapper${CMAKE_STATIC_LIBRARY_SUFFIX}" ${pascal_flags})
ENDIF()
if(fpc_version LESS "020600")
add_dependencies(avwrapper ENGINECLEAN)
endif()
else()
- message(STATUS "Could NOT find FFMPEG, video recording will be disabled")
+ message(STATUS "Could NOT find FFMPEG/LibAV, video recording will be disabled")
endif()
else()
message(STATUS "Video recording disabled by user")