1 --- openal-soft-1.16.0/CMakeLists.txt.1 2017-03-06 20:28:29.522762930 +0300
2 +++ openal-soft-1.16.0/CMakeLists.txt 2017-03-06 20:29:41.657713043 +0300
4 IF(SDL_SOUND_FOUND AND CMAKE_VERSION VERSION_LESS "2.8.8")
5 INCLUDE_DIRECTORIES(${SDL2_INCLUDE_DIR} ${SDL_SOUND_INCLUDE_DIR})
7 - FIND_PACKAGE(FFmpeg COMPONENTS AVFORMAT AVCODEC AVUTIL SWSCALE SWRESAMPLE)
8 - IF(FFMPEG_FOUND AND CMAKE_VERSION VERSION_LESS "2.8.8")
9 - INCLUDE_DIRECTORIES(${FFMPEG_INCLUDE_DIRS})
11 +# FIND_PACKAGE(FFmpeg COMPONENTS AVFORMAT AVCODEC AVUTIL SWSCALE SWRESAMPLE)
12 +# IF(FFMPEG_FOUND AND CMAKE_VERSION VERSION_LESS "2.8.8")
13 +# INCLUDE_DIRECTORIES(${FFMPEG_INCLUDE_DIRS})
18 @@ -1206,29 +1206,29 @@
24 - IF(AVFORMAT_VERSION VERSION_LESS "55.33.100")
25 - MESSAGE(STATUS "libavformat is too old! (${AVFORMAT_VERSION}, wanted 55.33.100)")
28 - IF(AVCODEC_VERSION VERSION_LESS "55.52.102")
29 - MESSAGE(STATUS "libavcodec is too old! (${AVCODEC_VERSION}, wanted 55.52.102)")
32 - IF(AVUTIL_VERSION VERSION_LESS "52.66.100")
33 - MESSAGE(STATUS "libavutil is too old! (${AVUTIL_VERSION}, wanted 52.66.100)")
36 - IF(SWSCALE_VERSION VERSION_LESS "2.5.102")
37 - MESSAGE(STATUS "libswscale is too old! (${SWSCALE_VERSION}, wanted 2.5.102)")
40 - IF(SWRESAMPLE_VERSION VERSION_LESS "0.18.100")
41 - MESSAGE(STATUS "libswresample is too old! (${SWRESAMPLE_VERSION}, wanted 0.18.100)")
47 +# IF(AVFORMAT_VERSION VERSION_LESS "55.33.100")
48 +# MESSAGE(STATUS "libavformat is too old! (${AVFORMAT_VERSION}, wanted 55.33.100)")
49 +# SET(FFVER_OK FALSE)
51 +# IF(AVCODEC_VERSION VERSION_LESS "55.52.102")
52 +# MESSAGE(STATUS "libavcodec is too old! (${AVCODEC_VERSION}, wanted 55.52.102)")
53 +# SET(FFVER_OK FALSE)
55 +# IF(AVUTIL_VERSION VERSION_LESS "52.66.100")
56 +# MESSAGE(STATUS "libavutil is too old! (${AVUTIL_VERSION}, wanted 52.66.100)")
57 +# SET(FFVER_OK FALSE)
59 +# IF(SWSCALE_VERSION VERSION_LESS "2.5.102")
60 +# MESSAGE(STATUS "libswscale is too old! (${SWSCALE_VERSION}, wanted 2.5.102)")
61 +# SET(FFVER_OK FALSE)
63 +# IF(SWRESAMPLE_VERSION VERSION_LESS "0.18.100")
64 +# MESSAGE(STATUS "libswresample is too old! (${SWRESAMPLE_VERSION}, wanted 0.18.100)")
65 +# SET(FFVER_OK FALSE)
68 IF(FFVER_OK AND NOT MSVC)
69 ADD_EXECUTABLE(alffplay examples/alffplay.c)
70 TARGET_LINK_LIBRARIES(alffplay common ex-common ${SDL2_LIBRARY} ${LIBNAME} ${FFMPEG_LIBRARIES})