fix cmake compile error on macOS (#1713)
This commit is contained in:
parent
a278ad4c0a
commit
5138696292
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue