title: include GLUT in qt project with cmake
body: <p>I'm trying to do a cmake project with opengl and qt.</p>
  
  <p>this is the cmake where I include opengl:</p>
  
  <pre><code># opengl
  set(QT_USE_QTOPENGL TRUE)
  find_package(OpenGL REQUIRED)
  find_package(GLUT REQUIRED)
  include_directories( ${OPENGL_INCLUDE_DIRS}  ${GLUT_INCLUDE_DIRS} )
  set(OPENGL_LIBS ${OPENGL_LIBRARIES} ${GLUT_LIBRARY})
  </code></pre>
  
  <p>And it found them, this is a part of cmake output:</p>
  
  <pre><code>-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework  
  -- Found GLUT: -framework GLUT  
  </code></pre>
  
  <p>And I can include OpenGL with this:</p>
  
  <pre><code>#include &lt;QtOpenGL&gt;
  </code></pre>
  
  <p>with this it finds correctly gl* <code>glGetString(GL_VENDOR)</code> or <code>glGetString(GL_VERSION)</code> and they works.</p>
  
  <p>BUT I'm not able to include GLUT includes.</p>
  
  <p>I'm on Mac OSX 10.8.4, Qt 4.8, QtCreator 2.7.1 and Opengl 2.1</p>
  
  <p>Please note that the same cmake file under Ubuntu 12.04 let me include <code>GL/gl.h</code> and <code>GL/glut.h</code> correctly.</p>