fix cmake compile error on macOS (#1713)

This commit is contained in:
LINE 2017-05-22 03:53:34 +08:00 committed by Celtic Minstrel
parent a278ad4c0a
commit 5138696292

View file

@ -360,6 +360,15 @@ if(WIN32)
)
endif(WIN32)
# On apple only
if(APPLE)
set(libwesnoth-game_STAT_SRC
${libwesnoth-game_STAT_SRC}
desktop/apple_notification.mm
)
endif(APPLE)
# For libdbus (essentially just for linux), this file needs to be linked, as its header is included #ifdef HAVE_LIBDBUS
if(LIBDBUS_FOUND)
set(libwesnoth-game_STAT_SRC