From: sapier Date: Sat, 24 May 2014 11:39:27 +0000 (+0200) Subject: Fix library link order X-Git-Tag: 0.4.10~113 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b743dcb942eb1a88bce2968c08b114058738758b;p=oweals%2Fminetest.git Fix library link order --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0992ea176..9aca174fd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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} )