Visual Studio projects: Do not hardcode gdbus-codegen path

Instead, use the $(GDBUS_CODEGEN) NMake Makefile variable, so that it may be
overridden if needed
This commit is contained in:
Chun-wei Fan
2020-12-24 13:48:36 +08:00
parent 856fb75413
commit 985e17772b

View File

@@ -117,7 +117,7 @@ all: \
..\gtk\gtkdbusgenerated.h ..\gtk\gtkdbusgenerated.c: ..\gtk\gtkdbusinterfaces.xml
@echo Generating GTK DBus sources...
@$(PYTHON) $(PREFIX)\bin\gdbus-codegen \
@$(PYTHON) $(GDBUS_CODEGEN) \
--interface-prefix org.Gtk. --c-namespace _Gtk \
--generate-c-code gtkdbusgenerated $** \
--output-directory $(@D)