Skip to content

Commit

Permalink
Fix missing SDLMain.mm.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon committed May 11, 2018
1 parent 42bcf04 commit 4676889
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/CMakeLists.txt
Expand Up @@ -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
Expand Down

0 comments on commit 4676889

Please sign in to comment.