Explorar el 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 hace 3 años
padre
commit
8211a7010b
Se han modificado 1 ficheros con 1 adiciones y 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)