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
ba6e8264
Commit
ba6e8264
authored
Dec 05, 2012
by
David Cole
Committed by
Kitware Robot
Dec 05, 2012
Browse files
Options
Browse Files
Download
Plain Diff
Merge topic 'ChangeSDLLinkLibraryOrder'
981629f7
Swap linking order of SDLmain and SDL (
#13769
)
parents
d208d149
981629f7
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 @
ba6e8264
...
...
@@ -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