Fix missing SDLMain.mm.
This commit is contained in:
parent
42bcf049c1
commit
4676889db6
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue