share/CMakeLists.txt
changeset 8662 bfcc09f2accc
parent 8650 18807b6302c8
child 8666 1652c1d9adc8
equal deleted inserted replaced
8661:ac8dba27a3f1 8662:bfcc09f2accc
     7     #CFBundleVersion is HEDGEWARS_REVISION
     7     #CFBundleVersion is HEDGEWARS_REVISION
     8     #CFBundleShortVersionString is HEDGEWARS_VERSION
     8     #CFBundleShortVersionString is HEDGEWARS_VERSION
     9 
     9 
    10     #silly libav that always brings in VideoDecoderAcceleration, avaible only from 10.6.3
    10     #silly libav that always brings in VideoDecoderAcceleration, avaible only from 10.6.3
    11     if(NOT NOVIDEOREC)
    11     if(NOT NOVIDEOREC)
    12         set(FFMPEG_FIND_QUIETLY true)
       
    13         find_package(FFMPEG)
    12         find_package(FFMPEG)
    14         if(${FFMPEG_FOUND} AND ${minimum_macosx_version} VERSION_EQUAL "10.6")
    13         if(${FFMPEG_FOUND} AND ${minimum_macosx_version} VERSION_EQUAL "10.6")
    15             set(minimum_macosx_version "10.6.3")
    14             set(minimum_macosx_version "10.6.3")
    16         endif()
    15         endif()
    17     endif()
    16     endif()