title: CMake CPack debian packages
body: <p>Has someone worked with a working example of a CPack script for debian packages with Qt and OpenGL dependencies?</p>
  
  <p>I've set this one</p>
  
  <pre><code>set (CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (&gt;= 2.3.1-6), libgcc1 (&gt;= 1:3.4.2-12), libQtOpenGL (&gt;=4.6.0), libQtCore (&gt;=4.6.0), libQtGui (&gt;=4.6.0), libglut (&gt;=3.0), libICE (&gt;=6.0), libX11 (&gt;=6.0), libXext (&gt;=6.0), libXmu (&gt;=6.0), libXi (&gt;=6.0), libstdc++ (&gt;=6.0), libm (&gt;=6.0), libgcc_s (&gt;=1.0), libc (&gt;=6.0), libGLU, libGL (&gt;=1.0), libpthread" )
  </code></pre>
  
  <p>I googled around but never found a working example. My main problem is how to set the dependencies first for libGLU, then for libGL and the following libraries.</p>
  
  <p>Once I've create the deb the installer says</p>
  
  <pre><code> **Error: Dependency is not satisfiable: libXXX**
  </code></pre>
  
  <p>where XXX is one the libraries I listed before (mainly Qt libraries)</p>
  
  <p>Currently my cmake version is 2.8.2 but cpack_add_component command doesn't work</p>