blob: 471daa488b7f3ab87e31f757e84431a0fe35d062 [file] [log] [blame]
--- a/gst-libs/gst/vulkan/meson.build
+++ a/gst-libs/gst/vulkan/meson.build
@@ -109,7 +109,7 @@
# on implementing a proper Metal extension for Vulkan
# https://github.com/KhronosGroup/MoltenVK/issues/492
vulkan_dep = cc.find_library('MoltenVK', required : get_option('vulkan'))
-elif host_system == 'windows'
+elif host_system == 'windows' and cc.get_id() == 'msvc'
vulkan_root = run_command(python3, '-c', 'import os; print(os.environ.get("VK_SDK_PATH"))').stdout().strip()
if vulkan_root != '' and vulkan_root != 'None'
vulkan_lib_dir = ''
@@ -138,7 +138,7 @@
endif
endif
-if host_system != 'windows'
+if host_system != 'windows' or cc.get_id() != 'msvc'
has_vulkan_header = cc.has_header('vulkan/vulkan_core.h')
endif