aboutsummaryrefslogtreecommitdiff
path: root/qga/vss-win32/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'qga/vss-win32/meson.build')
-rw-r--r--qga/vss-win32/meson.build9
1 files changed, 1 insertions, 8 deletions
diff --git a/qga/vss-win32/meson.build b/qga/vss-win32/meson.build
index 8d4c5708d8..c064a4e245 100644
--- a/qga/vss-win32/meson.build
+++ b/qga/vss-win32/meson.build
@@ -25,21 +25,14 @@ qga_vss = shared_module(
all_qga += qga_vss
-midl = find_program('midl', required: false)
-widl = find_program('widl', required: false)
if midl.found()
gen_tlb = custom_target('gen-tlb',
input: 'qga-vss.idl',
output: 'qga-vss.tlb',
command: [midl, '@INPUT@', '/tlb', '@OUTPUT@'])
-elif widl.found()
+else
gen_tlb = custom_target('gen-tlb',
input: 'qga-vss.idl',
output: 'qga-vss.tlb',
command: [widl, '-t', '@INPUT@', '-o', '@OUTPUT@'])
-else
- gen_tlb = custom_target('gen-tlb',
- input: 'qga-vss.tlb',
- output: 'qga-vss.tlb',
- command: ['cp', '@INPUT@', '@OUTPUT@'])
endif