Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
981629f7
Commit
981629f7
authored
Dec 02, 2012
by
Benjamin Eikel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Swap linking order of SDLmain and SDL (#0013769)
parent
1d3b35fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Modules/FindSDL.cmake
Modules/FindSDL.cmake
+1
-1
No files found.
Modules/FindSDL.cmake
View file @
981629f7
...
...
@@ -122,7 +122,7 @@ if(SDL_LIBRARY_TEMP)
if
(
SDLMAIN_LIBRARY AND NOT SDL_BUILDING_LIBRARY
)
list
(
FIND SDL_LIBRARY_TEMP
"
${
SDLMAIN_LIBRARY
}
"
_SDL_MAIN_INDEX
)
if
(
_SDL_MAIN_INDEX EQUAL -1
)
list
(
APPEND
SDL_LIBRARY_TEMP
"
${
SDLMAIN_LIBRARY
}
"
)
set
(
SDL_LIBRARY_TEMP
"
${
SDLMAIN_LIBRARY
}
"
${
SDL_LIBRARY_TEMP
}
)
endif
()
unset
(
_SDL_MAIN_INDEX
)
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