nvmesensor: Link against liblibmctp
Because the CMake build system ends up installing the library on the
system as liblibmctp.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: Ibdac5a586ae4a7e8877a8eeea58f5b163a73d0d6
diff --git a/src/meson.build b/src/meson.build
index dc11177..12c79b5 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -153,6 +153,7 @@
endif
if get_option('nvme').enabled()
+ mctp = meson.get_compiler('cpp').find_library('libmctp')
executable(
'nvmesensor',
'NVMeSensorMain.cpp',