diff --git a/tests/meson.build b/tests/meson.build index 9acf884231..ede335a15e 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -141,7 +141,7 @@ foreach t: gtk_tests ) endforeach -if profiler_enabled +if libsysprof_dep.found() executable('testperf', sources: 'testperf.c', dependencies: [libsysprof_dep, platform_gio_dep, libm],