Fix library link order
authorsapier <Sapier at GMX dot net>
Sat, 24 May 2014 11:39:27 +0000 (13:39 +0200)
committersapier <Sapier at GMX dot net>
Sat, 24 May 2014 11:39:27 +0000 (13:39 +0200)
src/CMakeLists.txt

index 0992ea17646fcc6b0bc92eab9fa1eb1589b7b6fc..9aca174fdfee8b2b0eb27e4e2770535e8288fa46 100644 (file)
@@ -516,18 +516,18 @@ if(BUILD_CLIENT)
        target_link_libraries(
                ${PROJECT_NAME}
                ${ZLIB_LIBRARIES}
-               ${IRRLICHT_LIBRARY}
+               ${X11_LIBRARIES}
                ${OPENGL_LIBRARIES}
+               ${OPENGLES2_LIBRARIES}
                ${JPEG_LIBRARIES}
                ${BZIP2_LIBRARIES}
                ${PNG_LIBRARIES}
-               ${X11_LIBRARIES}
+               ${IRRLICHT_LIBRARY}
                ${GETTEXT_LIBRARY}
                ${SOUND_LIBRARIES}
                ${SQLITE3_LIBRARY}
                ${LUA_LIBRARY}
-               ${JSON_LIBRARY}
-               ${OPENGLES2_LIBRARIES}
+               ${JSON_LIBRARY} 
                ${PLATFORM_LIBS}
                ${CLIENT_PLATFORM_LIBS}
        )