Sfoglia il codice sorgente

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 3 anni fa
parent
commit
8211a7010b
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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)