summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-08-21 18:28:29 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-08-21 18:28:29 -0400
commit81e88c1d9ee328fce4afa50919684ae8c813c8bb (patch)
tree274651d43205689f0438afd4e1ebc3b7ebdb43d7 /tests
parent5a5b30681efe2f74d676911444967f7e73a09c51 (diff)
downloadgtk+-81e88c1d9ee328fce4afa50919684ae8c813c8bb.tar.gz
Alterative sysprof build support
Don't link libgtk against libsysprof. We only need that for the test-performance binary.
Diffstat (limited to 'tests')
-rw-r--r--tests/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/meson.build b/tests/meson.build
index fd5fd6905d..e80044569a 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -136,9 +136,9 @@ foreach t: gtk_tests
dependencies: [libgtk_dep, libm])
endforeach
-if get_option('profiler')
+if profiler_enabled
executable('testperf', 'testperf.c',
- dependencies: [profiler_dep, platform_gio_dep, libm])
+ dependencies: [libsysprof_dep, platform_gio_dep, libm])
endif
librsvg = dependency('librsvg-2.0', version: '>= 2.46.0', required: false)