Fix missing SDLMain.mm.

This commit is contained in:
Pentarctagon 2018-05-11 11:20:10 -05:00
parent 42bcf049c1
commit 4676889db6

View file

@ -284,7 +284,11 @@ 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)
else()
add_executable(wesnoth WIN32 wesnoth.cpp macosx/SDLMain.mm)
endif(NOT APPLE)
target_link_libraries(wesnoth
wesnoth-client