aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-05-24 13:39:27 +0200
committersapier <Sapier at GMX dot net>2014-05-24 13:39:27 +0200
commitb743dcb942eb1a88bce2968c08b114058738758b (patch)
tree64fb6561fcd91898b0c02a7c570ee76f6e9d396b
parent3939ab6c9d7a0d278badc5b1623235d4033074aa (diff)
downloadminetest-b743dcb942eb1a88bce2968c08b114058738758b.tar.gz
minetest-b743dcb942eb1a88bce2968c08b114058738758b.tar.bz2
minetest-b743dcb942eb1a88bce2968c08b114058738758b.zip
Fix library link order
-rw-r--r--src/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
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}
)