Description: Link against system copies of zlib/libpng/libjpeg/bzip2
Forwarded: not-yet
Author: Vincent Cheng <Vincentc1208@gmail.com>
Last-Update: 2012-12-29

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -231,7 +231,13 @@
     ${OGGVORBIS_LIBRARIES}
     ${IRRLICHT_XF86VM_LIBRARY}
     ${OPENAL_LIBRARY}
-    ${OPENGL_LIBRARIES})
+    ${OPENGL_LIBRARIES}
+    X11
+    z
+    png
+    jpeg
+    bz2
+)
 
 if(APPLE)
     # In theory it would be cleaner to let CMake detect the right dependencies. In practice, this means that if a OSX user has
