summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-03-09 23:59:16 +0000
committerTim-Philipp Müller <tim@centricular.com>2018-03-09 23:59:16 +0000
commitc2bcc2711afabb7467d2d420bfc2c98d70eb078a (patch)
tree34d66292661335bfded765b7a7ed2b3cf50e4c7a /sys
parent1192a598eee41395f632cfebd2d8fb4bec08af7f (diff)
meson: fix build when msdk is not found
Diffstat (limited to 'sys')
-rw-r--r--sys/msdk/meson.build4
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