build: add -Dlibsysprof option

This gets us closer to being able to only build the capture static library
This commit is contained in:
Christian Hergert
2019-06-03 12:26:25 -07:00
parent 0d86933ed1
commit 5630e1680f
4 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,4 @@
if get_option('enable_gtk')
if get_option('enable_gtk') and get_option('libsysprof')
libsysprof_ui_public_sources = [
'sysprof-aid.c',