diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2018-03-09 23:59:16 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-03-09 23:59:16 +0000 |
commit | c2bcc2711afabb7467d2d420bfc2c98d70eb078a (patch) | |
tree | 34d66292661335bfded765b7a7ed2b3cf50e4c7a /sys | |
parent | 1192a598eee41395f632cfebd2d8fb4bec08af7f (diff) | |
download | gstreamer-plugins-bad-c2bcc2711afabb7467d2d420bfc2c98d70eb078a.tar.gz |
meson: fix build when msdk is not found
Diffstat (limited to 'sys')
-rw-r--r-- | sys/msdk/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/msdk/meson.build b/sys/msdk/meson.build index 48852bdc3..2e075fe2c 100644 --- a/sys/msdk/meson.build +++ b/sys/msdk/meson.build @@ -30,6 +30,9 @@ endif msdk_root = run_command(python3, '-c', 'import os; print(os.environ.get("INTELMEDIASDKROOT", os.environ.get("MFX_HOME", "")))').stdout().strip() +have_msdk = false +msdk_dep = [] + if msdk_root != '' msdk_libdir = [msdk_root + '/lib/lin_x64', msdk_root + '/lib/x64'] msdk_incdir = include_directories(msdk_root + '/include') @@ -56,5 +59,6 @@ if msdk_root != '' install : true, install_dir : plugins_install_dir, ) + have_msdk = true endif endif |