build: Fix build with sysprof-capture but without sysprof

This commit is contained in:
Benjamin Otte 2021-09-26 06:05:42 +02:00
parent 659181f74b
commit ef09cbee2f

View File

@ -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],