diff options
author | David Cole <david.cole@kitware.com> | 2012-12-05 15:30:31 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-12-05 15:30:31 (GMT) |
commit | ba6e8264fed13d53447593f96c01fc0d7fc5db4d (patch) | |
tree | 6412e81fcfcc11b53b78f5b58d5d99e51b745219 /Modules | |
parent | d208d1494f7d9a3895981dfd90fa61239a8c6cea (diff) | |
parent | 981629f701c598f58115445456ee733077beae8d (diff) | |
download | CMake-ba6e8264fed13d53447593f96c01fc0d7fc5db4d.zip CMake-ba6e8264fed13d53447593f96c01fc0d7fc5db4d.tar.gz CMake-ba6e8264fed13d53447593f96c01fc0d7fc5db4d.tar.bz2 |
Merge topic 'ChangeSDLLinkLibraryOrder'
981629f 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() |