14
meson.build
14
meson.build
@@ -642,23 +642,9 @@ if not get_option('sysprof').disabled()
|
||||
],
|
||||
)
|
||||
cdata.set('HAVE_SYSPROF', libsysprof_capture_dep.found())
|
||||
libsysprof_dep = dependency('sysprof-4',
|
||||
required: false,
|
||||
default_options: [
|
||||
'agent=false',
|
||||
'examples=false',
|
||||
'gtk=false',
|
||||
'tests=false',
|
||||
'tools=false',
|
||||
'libsysprof=true',
|
||||
'sysprofd=none',
|
||||
'help=false',
|
||||
],
|
||||
)
|
||||
profiler_enabled = true
|
||||
else
|
||||
libsysprof_capture_dep = disabler()
|
||||
libsysprof_dep = disabler()
|
||||
profiler_enabled = false
|
||||
endif
|
||||
|
||||
|
||||
@@ -146,10 +146,3 @@ foreach t: gtk_tests
|
||||
dependencies: [libgtk_dep, libm],
|
||||
)
|
||||
endforeach
|
||||
|
||||
if libsysprof_dep.found()
|
||||
executable('testperf',
|
||||
sources: 'testperf.c',
|
||||
dependencies: [libsysprof_dep, platform_gio_dep, libm],
|
||||
)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user