diff options
author | Benjamin Eikel <cmake@eikel.org> | 2012-12-02 13:32:47 (GMT) |
---|---|---|
committer | Benjamin Eikel <cmake@eikel.org> | 2012-12-02 13:32:47 (GMT) |
commit | 981629f701c598f58115445456ee733077beae8d (patch) | |
tree | cc1937216a607bf9cdd614fed4c08d108e63c5b7 /Modules | |
parent | 1d3b35fd8a59c6f987b4caab17330955dbaf32bc (diff) | |
download | CMake-981629f701c598f58115445456ee733077beae8d.zip CMake-981629f701c598f58115445456ee733077beae8d.tar.gz CMake-981629f701c598f58115445456ee733077beae8d.tar.bz2 |
Swap linking order of SDLmain and SDL (#0013769)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindSDL.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindSDL.cmake b/Modules/FindSDL.cmake index f2e9f25..fec142e 100644 --- a/Modules/FindSDL.cmake +++ b/Modules/FindSDL.cmake @@ -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() |