Blob Blame History Raw
--- rts/builds/dedicated/CMakeLists.txt.old	2013-11-18 08:15:57.830264049 +0200
+++ rts/builds/dedicated/CMakeLists.txt	2013-11-18 08:17:30.275483453 +0200
@@ -53,8 +53,10 @@
 	INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include/SDL)
 ENDIF (MINGW OR APPLE)
 
+FIND_PACKAGE(ZLIB REQUIRED)
+LIST(APPEND engineDedicatedLibraries ${ZLIB_LIBRARY})
 
-### Assemble the incude dirs
+### Assemble the include dirs
 INCLUDE_DIRECTORIES(${ENGINE_SRC_ROOT_DIR}/)
 INCLUDE_DIRECTORIES(${ENGINE_SRC_ROOT_DIR}/lib/lua/include/)
 INCLUDE_DIRECTORIES(${ENGINE_SRC_ROOT_DIR}/lib/7zip)
--- rts/builds/headless/CMakeLists.txt.old	2013-11-18 08:18:22.427040995 +0200
+++ rts/builds/headless/CMakeLists.txt	2013-11-18 08:19:41.701365926 +0200
@@ -30,6 +30,8 @@
 	INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include/SDL)
 ENDIF (MINGW OR APPLE)
 
+FIND_PACKAGE(ZLIB REQUIRED)
+LIST(APPEND engineHeadlessLibraries ${ZLIB_LIBRARY})
 
 # headlessstubs are our stubs that replace libGL, libGLU, libGLEW, libSDL (yes really!)
 LIST(APPEND engineHeadlessLibraries headlessStubs)
--- rts/builds/multithreaded/CMakeLists.txt.old	2013-11-18 08:20:37.708887380 +0200
+++ rts/builds/multithreaded/CMakeLists.txt	2013-11-18 08:21:36.567383204 +0200
@@ -53,6 +53,9 @@
 	LIST(APPEND engineLibraries squish rgetc1)
 endif (USE_LIBSQUISH)
 
+FIND_PACKAGE(ZLIB REQUIRED)
+LIST(APPEND engineLibraries ${ZLIB_LIBRARY})
+
 LIST(APPEND engineLibraries ${sound-impl})
 LIST(APPEND engineLibraries ${Boost_THREAD_LIBRARY})
 LIST(APPEND engineLibraries engineSystemNet)