]> git.sesse.net Git - vlc/commitdiff
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 1ae85b410f27621978603fff34a0d5f011a1a7be..679e14f9c947c14e4d829ba18fc4c527bff5ef35 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)