Fix library link order

This commit is contained in:
sapier 2014-05-24 13:39:27 +02:00
parent 3939ab6c9d
commit b743dcb942

@ -516,18 +516,18 @@ if(BUILD_CLIENT)
target_link_libraries( target_link_libraries(
${PROJECT_NAME} ${PROJECT_NAME}
${ZLIB_LIBRARIES} ${ZLIB_LIBRARIES}
${IRRLICHT_LIBRARY} ${X11_LIBRARIES}
${OPENGL_LIBRARIES} ${OPENGL_LIBRARIES}
${OPENGLES2_LIBRARIES}
${JPEG_LIBRARIES} ${JPEG_LIBRARIES}
${BZIP2_LIBRARIES} ${BZIP2_LIBRARIES}
${PNG_LIBRARIES} ${PNG_LIBRARIES}
${X11_LIBRARIES} ${IRRLICHT_LIBRARY}
${GETTEXT_LIBRARY} ${GETTEXT_LIBRARY}
${SOUND_LIBRARIES} ${SOUND_LIBRARIES}
${SQLITE3_LIBRARY} ${SQLITE3_LIBRARY}
${LUA_LIBRARY} ${LUA_LIBRARY}
${JSON_LIBRARY} ${JSON_LIBRARY}
${OPENGLES2_LIBRARIES}
${PLATFORM_LIBS} ${PLATFORM_LIBS}
${CLIENT_PLATFORM_LIBS} ${CLIENT_PLATFORM_LIBS}
) )