aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-05-25 01:14:47 +0200
committersapier <Sapier at GMX dot net>2014-05-25 01:14:47 +0200
commit7fba341dbbffd21afa5476cd8bdf82b9d35cf83a (patch)
tree9499fb14aefe791ce1b9a8a22cc14bcfe5ebb6ce /src
parentf0a9e7ddc854678d716afb90ae06e120480290a0 (diff)
downloadminetest-7fba341dbbffd21afa5476cd8bdf82b9d35cf83a.tar.gz
minetest-7fba341dbbffd21afa5476cd8bdf82b9d35cf83a.tar.bz2
minetest-7fba341dbbffd21afa5476cd8bdf82b9d35cf83a.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9aca174fd..0992ea176 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}
)