aboutsummaryrefslogtreecommitdiff
path: root/codegenerator.mk
diff options
context:
space:
mode:
Diffstat (limited to 'codegenerator.mk')
-rw-r--r--codegenerator.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/codegenerator.mk b/codegenerator.mk
index 02b08e5ca6..0cd5309035 100644
--- a/codegenerator.mk
+++ b/codegenerator.mk
@@ -20,8 +20,11 @@ endif
GENERATED_JSON = $(INTERFACES_DIR)/json-rpc/ServiceDescription.h
ifeq ($(wildcard $(JSON_BUILDER)),)
+ JSON_BUILDER = $(shell which JsonSchemaBuilder)
+ifeq ($(JSON_BUILDER),)
JSON_BUILDER = tools/depends/native/JsonSchemaBuilder/JsonSchemaBuilder
endif
+endif
GENDIR = $(INTERFACES_DIR)/python/generated
GROOVY_DIR = $(TOPDIR)/lib/groovy