Skip to content

Commit

Permalink
qt: only compile mac mocs on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
div72 committed Feb 19, 2022
1 parent cd3b0e7 commit f099cbb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Makefile.qt.include
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,6 @@ QT_MOC_CPP = \
qt/moc_favoritespage.cpp \
qt/moc_guiutil.cpp \
qt/moc_intro.cpp \
qt/moc_macdockiconhandler.cpp \
qt/moc_macnotificationhandler.cpp \
qt/moc_monitoreddatamapper.cpp \
qt/moc_noresult.cpp \
qt/moc_notificator.cpp \
Expand Down Expand Up @@ -199,6 +197,12 @@ QT_MOC_CPP = \
qt/voting/moc_votingmodel.cpp \
qt/voting/moc_votingpage.cpp

if TARGET_DARWIN
QT_MOC_CPP += \
qt/moc_macdockiconhandler.cpp \
qt/moc_macnotificationhandler.cpp
endif

GRIDCOIN_MM = \
qt/macdockiconhandler.mm \
qt/macnotificationhandler.mm \
Expand Down

0 comments on commit f099cbb

Please sign in to comment.