]> git.sesse.net Git - vlc/blobdiff - extras/buildsystem/cmake/include/FindFFmpeg.cmake
FindFFmpeg.cmake: Perform the ffmpeg search only once. (That's probably not the cmake...
[vlc] / 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)