mirror of https://github.com/bsnes-emu/bsnes.git
Use pkg-config instead of hardcoded path to Qt5 moc
This commit is contained in:
parent
d9f80db036
commit
d383f0e883
|
@ -52,7 +52,7 @@ ifneq ($(filter $(platform),linux bsd),)
|
|||
endif
|
||||
|
||||
ifeq ($(hiro),qt5)
|
||||
moc = /usr/local/lib/qt5/bin/moc
|
||||
moc = $(shell pkg-config --variable=host_bins Qt5Core)/moc
|
||||
hiro.flags = $(flags.cpp) -DHIRO_QT=5 -fPIC $(shell pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets)
|
||||
hiro.options = -L/usr/local/lib -lX11 $(shell pkg-config --libs Qt5Core Qt5Gui Qt5Widgets)
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue