Fix missing SDLMain.mm.

(cherry-picked from commit 7a3fb8815b)
This commit is contained in:
Pentarctagon 2018-05-10 20:35:23 -05:00 committed by Pentarctagon
parent f262321864
commit b4e612239e

View file

@ -283,9 +283,9 @@ add_library(wesnoth-game ${LIBRARY_TYPE} EXCLUDE_FROM_ALL ${libwesnoth-game_STAT
########### Wesnoth ###############
if(ENABLE_GAME)
add_executable(wesnoth WIN32 wesnoth.cpp)
if(NOT APPLE)
add_executable(wesnoth WIN32 wesnoth.cpp)
set(static-libs -Wl,--start-group
wesnoth-client
lua
@ -296,6 +296,8 @@ if(ENABLE_GAME)
wesnoth-client
-Wl,--end-group)
else()
add_executable(wesnoth WIN32 wesnoth.cpp macosx/SDLMain.mm)
set(static-libs wesnoth-client
lua
wesnoth-core