--- cegui-0.8.7/cmake/FindSDL2.cmake.orig 2018-07-20 23:45:12.057776500 +0300 | |
+++ cegui-0.8.7/cmake/FindSDL2.cmake 2018-07-20 23:45:39.193328600 +0300 | |
@@ -153,7 +153,7 @@ | |
# For SDL2main | |
IF(NOT SDL2_BUILDING_LIBRARY) | |
IF(SDL2MAIN_LIB) | |
- SET(SDL2_LIB ${SDL2_LIB} ${SDL2MAIN_LIB}) | |
+ SET(SDL2_LIB ${SDL2MAIN_LIB} ${SDL2_LIB}) | |
ENDIF(SDL2MAIN_LIB) | |
ENDIF(NOT SDL2_BUILDING_LIBRARY) | |