FindFFmpeg.cmake: Perform the ffmpeg search only once. (That's probably not the cmake...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 7 Feb 2008 14:49:41 +0000 (14:49 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 7 Feb 2008 14:49:41 +0000 (14:49 +0000)
extras/buildsystem/cmake/include/FindFFmpeg.cmake

index 1ae85b4..679e14f 100644 (file)
@@ -6,7 +6,7 @@
 #  FFmpeg_CFLAGS - Link these to use FFmpeg.
 
 
-#if (NOT FFmpeg_SEARCHED)
+if (NOT FFmpeg_SEARCHED)
     include(CheckLibraryExists)
 
     set(FFmpeg_SEARCHED TRUE CACHE INTERNAL "")
@@ -45,4 +45,4 @@
     endif (FFmpeg_FOUND)
 
     mark_as_advanced(FFmpeg_LIBRARIES)
-#endif(NOT FFmpeg_SEARCHED)
+endif(NOT FFmpeg_SEARCHED)