mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
Ignore moc missing if MOC_FILES is empty (nw)
This commit is contained in:
parent
627b7c61dc
commit
33387befdb
2
makefile
2
makefile
@ -750,7 +750,9 @@ MOCTST = $(shell which moc-qt4 2>/dev/null)
|
|||||||
ifeq '$(MOCTST)' ''
|
ifeq '$(MOCTST)' ''
|
||||||
MOCTST = $(shell which moc 2>/dev/null)
|
MOCTST = $(shell which moc 2>/dev/null)
|
||||||
ifeq '$(MOCTST)' ''
|
ifeq '$(MOCTST)' ''
|
||||||
|
ifneq '$(MOC_FILES)' ''
|
||||||
$(error Qt's Meta Object Compiler (moc) wasn't found!)
|
$(error Qt's Meta Object Compiler (moc) wasn't found!)
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
MOC = $(MOCTST)
|
MOC = $(MOCTST)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user