From 219c5cf33031bce4839b7d6493326fb566260dbe Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Thu, 10 Nov 2022 03:23:53 +0900 Subject: [PATCH] meson: d3d11: Clarify the message for WGC support check Even Windows10 SDK seems to have required symbols depending on installed SDK version Part-of: --- subprojects/gst-plugins-bad/sys/d3d11/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subprojects/gst-plugins-bad/sys/d3d11/meson.build b/subprojects/gst-plugins-bad/sys/d3d11/meson.build index c4a140fff1..1368b79c3e 100644 --- a/subprojects/gst-plugins-bad/sys/d3d11/meson.build +++ b/subprojects/gst-plugins-bad/sys/d3d11/meson.build @@ -47,7 +47,7 @@ if d3d11_winapi_only_app and (not d3dcompiler_lib.found() or not runtimeobject_l subdir_done() endif -win11_sdk = cxx.compiles(''' +have_wgc = cxx.compiles(''' #include #include #include @@ -65,7 +65,7 @@ win11_sdk = cxx.compiles(''' ComPtr session2; ComPtr session3; ''', - name: 'building with Windows 11 SDK') + name: 'Windows Graphics Capture support in Windows SDK') # if build target is Windows 10 and WINAPI_PARTITION_APP is allowed, # we can build UWP only modules as well @@ -88,7 +88,7 @@ if d3d11_winapi_desktop extra_dep += [winmm_lib] endif - if win11_sdk + if have_wgc d3d11_sources += ['gstd3d11winrtcapture.cpp'] extra_args += ['-DHAVE_WINRT_CAPTURE'] endif