Skip to content

Commit f099cbb

Browse files
committed
qt: only compile mac mocs on darwin
1 parent cd3b0e7 commit f099cbb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/Makefile.qt.include

+6-2
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ QT_MOC_CPP = \
145145
qt/moc_favoritespage.cpp \
146146
qt/moc_guiutil.cpp \
147147
qt/moc_intro.cpp \
148-
qt/moc_macdockiconhandler.cpp \
149-
qt/moc_macnotificationhandler.cpp \
150148
qt/moc_monitoreddatamapper.cpp \
151149
qt/moc_noresult.cpp \
152150
qt/moc_notificator.cpp \
@@ -199,6 +197,12 @@ QT_MOC_CPP = \
199197
qt/voting/moc_votingmodel.cpp \
200198
qt/voting/moc_votingpage.cpp
201199

200+
if TARGET_DARWIN
201+
QT_MOC_CPP += \
202+
qt/moc_macdockiconhandler.cpp \
203+
qt/moc_macnotificationhandler.cpp
204+
endif
205+
202206
GRIDCOIN_MM = \
203207
qt/macdockiconhandler.mm \
204208
qt/macnotificationhandler.mm \

0 commit comments

Comments
 (0)