Quellcode durchsuchen

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 vor 3 Jahren
Ursprung
Commit
8211a7010b
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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)