diff --git a/CMakeModules/FindGStreamer.cmake b/CMakeModules/FindGStreamer.cmake index e07789d0f..1270fe489 100644 --- a/CMakeModules/FindGStreamer.cmake +++ b/CMakeModules/FindGStreamer.cmake @@ -153,7 +153,7 @@ foreach (_component ${GStreamer_FIND_COMPONENTS}) endforeach () include(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(GStreamer REQUIRED_VARS _GSTREAMER_REQUIRED_VARS +FIND_PACKAGE_HANDLE_STANDARD_ARGS(GStreamer REQUIRED_VARS ${_GSTREAMER_REQUIRED_VARS} VERSION_VAR GSTREAMER_VERSION) mark_as_advanced( @@ -171,4 +171,4 @@ mark_as_advanced( GSTREAMER_PBUTILS_LIBRARIES GSTREAMER_VIDEO_INCLUDE_DIRS GSTREAMER_VIDEO_LIBRARIES -) \ No newline at end of file +)