share/CMakeLists.txt
changeset 9959 1a42d36f346a
parent 8666 1652c1d9adc8
child 10015 4feced261c68
--- a/share/CMakeLists.txt	Wed Jan 08 18:57:23 2014 +0100
+++ b/share/CMakeLists.txt	Wed Jan 08 19:19:09 2014 +0100
@@ -8,7 +8,7 @@
     #CFBundleShortVersionString is HEDGEWARS_VERSION
 
     #libav/ffmpeg always brings in VideoDecoderAcceleration, avaible only from 10.6.3
-    if(${FFMPEG_FOUND} AND ${minimum_macosx_version} VERSION_EQUAL "10.6")
+    if(LIBAV_FOUND AND ${minimum_macosx_version} VERSION_EQUAL "10.6")
         set(minimum_macosx_version "10.6.3")
     endif()