Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
f7e3ae48
Commit
f7e3ae48
authored
Feb 09, 2014
by
deuce
Browse files
Only include SDL_win32_main when including SDL support.
parent
33ca4831
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/conio/CMakeLists.txt
src/conio/CMakeLists.txt
+4
-1
No files found.
src/conio/CMakeLists.txt
View file @
f7e3ae48
...
...
@@ -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.
r
c
)
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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment