diff --git a/meson.build b/meson.build index e76cc1dc6be..2fb3c11a6c6 100644 --- a/meson.build +++ b/meson.build @@ -2573,7 +2573,7 @@ if conf.get('HAVE_BLKID') == 1 and conf.get('HAVE_GNU_EFI') == 1 install : true, install_dir : systemgeneratordir) - if conf.get('HAVE_OPENSSL') == 1 + if conf.get('HAVE_OPENSSL') == 1 and conf.get('HAVE_TPM2') == 1 executable( 'systemd-measure', 'src/boot/measure.c',