From: sapier Date: Sat, 24 May 2014 23:14:47 +0000 (+0200) Subject: Works for debian and a few other distributions but fails for even more so back to... X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=7fba341dbbffd21afa5476cd8bdf82b9d35cf83a;p=zefram%2Fminetest%2Fminetest_engine.git 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. --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9aca174f..0992ea17 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -516,18 +516,18 @@ if(BUILD_CLIENT) target_link_libraries( ${PROJECT_NAME} ${ZLIB_LIBRARIES} - ${X11_LIBRARIES} + ${IRRLICHT_LIBRARY} ${OPENGL_LIBRARIES} - ${OPENGLES2_LIBRARIES} ${JPEG_LIBRARIES} ${BZIP2_LIBRARIES} ${PNG_LIBRARIES} - ${IRRLICHT_LIBRARY} + ${X11_LIBRARIES} ${GETTEXT_LIBRARY} ${SOUND_LIBRARIES} ${SQLITE3_LIBRARY} ${LUA_LIBRARY} - ${JSON_LIBRARY} + ${JSON_LIBRARY} + ${OPENGLES2_LIBRARIES} ${PLATFORM_LIBS} ${CLIENT_PLATFORM_LIBS} )