From cfd8713ca2e2a07878c501fa7b01b5d161660814 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Wed, 23 Jun 2021 17:09:18 +0200 Subject: [PATCH] cmake: Check for provider instead of feature --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9213fc74..a1d3f127 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -693,7 +693,7 @@ function(feature_filter_video_superresolution RESOLVE) endif() # Verify that we have at least one provider for Video Super-Resolution. - is_feature_enabled(FILTER_VIDEO_SUPERRESOLUTION T_CHECK_NVIDIA) + is_feature_enabled(FILTER_VIDEO_SUPERRESOLUTION_NVIDIA T_CHECK_NVIDIA) if (NOT T_CHECK_NVIDIA) message(WARNING "${LOGPREFIX}: Video Super-Resolution has no available providers. Disabling...") set_feature_disabled(FILTER_VIDEO_SUPERRESOLUTION ON)