build: only build libsysprof-ui if -Denable_gtk=true

This commit is contained in:
Christian Hergert
2019-06-03 12:19:45 -07:00
parent dbb6b9143f
commit 0d86933ed1

View File

@ -1,3 +1,5 @@
if get_option('enable_gtk')
libsysprof_ui_public_sources = [
'sysprof-aid.c',
'sysprof-capture-view.c',
@ -123,3 +125,5 @@ pkgconfig.generate(
)
install_headers(libsysprof_ui_public_headers, subdir: sysprof_header_subdir)
endif