mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-13 07:15:06 +00:00
cmake: Check for provider instead of feature
This commit is contained in:
parent
32ce289148
commit
3dd65e8815
1 changed files with 1 additions and 1 deletions
|
@ -693,7 +693,7 @@ function(feature_filter_video_superresolution RESOLVE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Verify that we have at least one provider for Video Super-Resolution.
|
# 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)
|
if (NOT T_CHECK_NVIDIA)
|
||||||
message(WARNING "${LOGPREFIX}: Video Super-Resolution has no available providers. Disabling...")
|
message(WARNING "${LOGPREFIX}: Video Super-Resolution has no available providers. Disabling...")
|
||||||
set_feature_disabled(FILTER_VIDEO_SUPERRESOLUTION ON)
|
set_feature_disabled(FILTER_VIDEO_SUPERRESOLUTION ON)
|
||||||
|
|
Loading…
Reference in a new issue