diff options
| author | 2015-04-01 12:09:38 +0200 | |
|---|---|---|
| committer | 2015-04-01 12:09:38 +0200 | |
| commit | 33387befdb83b2fee006d7f785ce86d3ac24bae6 (patch) | |
| tree | c01bdd978e96dfd81d10a1a0b40d059c20371616 /makefile | |
| parent | 627b7c61dcc3ab194b55a9d7e51e29fa43dbcf07 (diff) | |
Ignore moc missing if MOC_FILES is empty (nw)
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -750,7 +750,9 @@ MOCTST = $(shell which moc-qt4 2>/dev/null) ifeq '$(MOCTST)' '' MOCTST = $(shell which moc 2>/dev/null) ifeq '$(MOCTST)' '' +ifneq '$(MOC_FILES)' '' $(error Qt's Meta Object Compiler (moc) wasn't found!) +endif else MOC = $(MOCTST) endif |
