meson: Fix building of MSDK plugin on Windows
authorNirbheek Chauhan <nirbheek@centricular.com>
Thu, 10 Jan 2019 10:04:51 +0000 (15:34 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Thu, 10 Jan 2019 10:04:51 +0000 (15:34 +0530)
Variable name was typoed in 604c8d5232eba961ca34c9e98de8d5454cd5ab5f

sys/msdk/meson.build

index 046c0cd..c94102d 100644 (file)
@@ -49,7 +49,7 @@ else
   if mfx_root != ''
     mfx_libdir = [mfx_root + '/lib/lin_x64', mfx_root + '/lib/x64', mfx_root + '/lib64', mfx_root + '/lib']
     mfx_incdir = join_paths([mfx_root, 'include'])
-    mfx_lib = cxx.find_library('mfx', dirs: mfx_libdir, required: mfx_option)
+    mfx_lib = cxx.find_library('mfx', dirs: mfx_libdir, required: msdk_option)
     mfx_inc = include_directories(mfx_incdir)
     mfx_dep = declare_dependency(include_directories: mfx_inc, dependencies: mfx_lib)
   elif msdk_option.enabled()