Skip to content
Snippets Groups Projects
Commit f7e3ae48 authored by deuce's avatar deuce
Browse files

Only include SDL_win32_main when including SDL support.

parent 33ca4831
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ set(SOURCE
)
if(WIN32)
list(APPEND SOURCE SDL_win32_main.c win32cio.c ciolib_res.c)
list(APPEND SOURCE win32cio.c ciolib.rc)
endif()
if(CURSES_FOUND)
......@@ -34,6 +34,9 @@ endif()
if(SDL_FOUND)
list(APPEND SOURCE sdl_con.c)
list(APPEND SOURCE sdlfuncs.c)
if(WIN32)
list(APPEND SOURCE SDL_win32_main.c)
endif()
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
list(APPEND SOURCE SDLMain.m)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment