title: Adding GLEW to project (CMake)
body: <p>I want to link glfw and glew to my project for graphics programming.</p>
  
  <p>Adding glfw was pretty straight forward, I followed the instructions on their website. Creating a window with glfw worked perfectly.</p>
  
  <p>However, I can't see what's wrong with my CMakeLists.txt for adding GLEW. The program gives the error: "GL/glew.h: No such file or directory". </p>
  
  <p>My CMakeLists.txt:</p>
  
  <pre><code>cmake_minimum_required( VERSION 3.5 )
  
  project(Starting)
  
  find_package( OpenGL REQUIRED )
  
  set( GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE )
  set( GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE )
  set( GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE )
  
  add_subdirectory( ${PROJECT_SOURCE_DIR}/GLEW/build/cmake )
  add_subdirectory( ${PROJECT_SOURCE_DIR}/GLFW )
  
  add_executable( Starting ${PROJECT_SOURCE_DIR}/src/main.cxx )
  
  target_link_libraries( Starting glew32s glfw )
  </code></pre>
  
  <p>I've tried giving it the names GLEW, glew, glew32 instead but nothing changed.
  The library is downloaded from here: <a href="https://github.com/Perlmint/glew-cmake" rel="noreferrer">https://github.com/Perlmint/glew-cmake</a></p>
  
  <p>If it has any importance, this is the batch file with which I run my CMakeLists.txt (located in a build folder inside my project source directory):</p>
  
  <pre><code>@echo off
  
  cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ..
  
  make all
  </code></pre>
  
  <p>Looking at OpenGL projects on github didn't help since almost all of them are using visual studio.
  It would be great if someone could tell me what I got wrong. </p>