[gtk/wip/otte/color-profiles: 1/30] build: Fix build with sysprof-capture but without sysprof




commit ef09cbee2f861061e5c57ea2e6b859b8257ae151
Author: Benjamin Otte <otte redhat com>
Date:   Sun Sep 26 06:05:42 2021 +0200

    build: Fix build with sysprof-capture but without sysprof

 tests/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]