From: Pavel Pisa Date: Fri, 25 Oct 2013 22:29:16 +0000 (+0200) Subject: QT: Fix bug in *.pro search which prevent QT_SUBDIRS to work for other than direct... X-Git-Url: https://rtime.felk.cvut.cz/gitweb/omk.git/commitdiff_plain/e27ad6c9ba89dfe82e7aaa3fe4efca8406ca28ed QT: Fix bug in *.pro search which prevent QT_SUBDIRS to work for other than direct make invocation directory. Signed-off-by: Pavel Pisa --- diff --git a/snippets/qt.omk b/snippets/qt.omk index 5880b64..35063bc 100644 --- a/snippets/qt.omk +++ b/snippets/qt.omk @@ -44,6 +44,6 @@ clean-qt-$(dir $(1)): $(LOCAL_BUILD_DIR)/$(dir $(1))Makefile endef $(foreach pro,$(QT_PROJECTS), $(eval $(call qt_project_template,$(pro)))) -$(foreach pro,$(foreach dir,$(QT_SUBDIRS), $(wildcard $(dir)/*.pro)), $(eval $(call qt_project_template,$(pro)))) +$(foreach pro,$(foreach dir,$(QT_SUBDIRS), $(wildcard $(SOURCES_DIR)/$(dir)/*.pro)), $(eval $(call qt_project_template,$(pro:$(SOURCES_DIR)/%=%)))) endif