Explorar o código

Hopefully address the issue with REQUIRED_VARS for FindFFMPEG.cmake in cmake earlier than 3.18
Properly addresses issue #121 (and hopefully discussion #140)

Signed-off-by: Alexis Maiquez <almamu@almamu.com>

Alexis Maiquez %!s(int64=3) %!d(string=hai) anos
pai
achega
8211a7010b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      CMakeModules/FindFFMPEG.cmake

+ 1 - 0
CMakeModules/FindFFMPEG.cmake

@@ -24,6 +24,7 @@ include(FindPackageHandleStandardArgs)
         FOUND_VAR FFMPEG_FOUND
         VERSION_VAR FFMPEG_VERSION
         HANDLE_COMPONENTS
+        REQUIRED_VARS
     )
 
 if(FFMPEG_LIBRARIES AND FFMPEG_INCLUDE_DIR)