mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: only install sysprof-ui-2.pc if we build the UI
This fixes an error were a pkg-config check could succeed for the UI being installed when the gtk library was not built.
This commit is contained in:
@ -7,9 +7,10 @@ desktopdir = $(datadir)/applications
|
|||||||
desktop_DATA = org.gnome.Sysprof2.desktop
|
desktop_DATA = org.gnome.Sysprof2.desktop
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = \
|
pkgconfig_DATA = sysprof-$(API_VERSION).pc
|
||||||
sysprof-$(API_VERSION).pc \
|
if ENABLE_GTK
|
||||||
sysprof-ui-$(API_VERSION).pc
|
pkgconfig_DATA += sysprof-ui-$(API_VERSION).pc
|
||||||
|
endif
|
||||||
|
|
||||||
gsettings_SCHEMAS = org.gnome.sysprof2.gschema.xml
|
gsettings_SCHEMAS = org.gnome.sysprof2.gschema.xml
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user