Works for debian and a few other distributions but fails for even more so back to old order

Revert "Fix library link order"
This reverts commit b743dcb942eb1a88bce2968c08b114058738758b.
This commit is contained in:
sapier 2014-05-25 01:14:47 +02:00
parent f0a9e7ddc8
commit 7fba341dbb

@ -516,18 +516,18 @@ if(BUILD_CLIENT)
target_link_libraries( target_link_libraries(
${PROJECT_NAME} ${PROJECT_NAME}
${ZLIB_LIBRARIES} ${ZLIB_LIBRARIES}
${X11_LIBRARIES} ${IRRLICHT_LIBRARY}
${OPENGL_LIBRARIES} ${OPENGL_LIBRARIES}
${OPENGLES2_LIBRARIES}
${JPEG_LIBRARIES} ${JPEG_LIBRARIES}
${BZIP2_LIBRARIES} ${BZIP2_LIBRARIES}
${PNG_LIBRARIES} ${PNG_LIBRARIES}
${IRRLICHT_LIBRARY} ${X11_LIBRARIES}
${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}
) )