From 3dd65e8815eb3a0a7fd506b68f781e118c934eb7 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)