Commit d35109c2 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont
Browse files

FindFFmpeg.cmake: Perform the ffmpeg search only once. (That's probably not...

FindFFmpeg.cmake: Perform the ffmpeg search only once. (That's probably not the cmake's spirit... to check).
parent 5f76d49b
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment