title: CMake : Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
body: <p>I'm going to build an open souce chat application named <a href="http://qt-apps.org/content/show.php/qutIM?content=83269" rel="nofollow noreferrer">qutim</a> (a Qt based applicatoin) . This application needs ZLib but according to <a href="https://stackoverflow.com/questions/4002757/how-to-add-zlib-to-an-existing-qt-installation">this question</a> this library is included in Qt itself. But when I want to configure it inside cmake I get this error : </p>
  
  <pre><code>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
    Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
  Call Stack (most recent call first):
    C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
    C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindZLIB.cmake:85 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
    protocols/jabber/jreen/CMakeLists.txt:75 (find_package)
  </code></pre>
  
  <p>I even tried to add two environment variables ZLIB_LIBRARY and ZLIB_INCLUDE_DIR but it wasn't helpful.
  Every suggestion is appriciated! </p>