title: Error in compiling the examples of OpenGL 4 Shading Language Cookbook, 3rd Edition
body: <p>I downloaded the source code of OpenGL 4 Shading Language Cookbook, 3rd Edition from <a href="https://github.com/PacktPublishing/OpenGL-4-Shading-Language-Cookbook-Third-Edition" rel="nofollow noreferrer">PacktPublishing github</a></p>
  
  <p>I have downloaded the glm source code version glm-0.9.9.3 and 
  I have downloaded the glfw source code version glfw-3.2.1.
  I successfully compiled, built and installed both glm and glfw using the "cmake ."</p>
  
  <p>To find the GLFW installation, I executed the below command in the src (examples) folder </p>
  
  <blockquote>
    <p>cmake -D CMAKE_PREFIX_PATH=e:\mysrcpath\glfw-3.2.1\src .</p>
  </blockquote>
  
  <p>I am getting the below error</p>
  
  <pre><code>-- Selecting Windows SDK version  to target Windows 10.0.17134.
  CMake Error at E:/glfw-3.2.1/src/glfw3Config.cmake:1 (include):
  include could not find load file:
  
  E:/glfw-3.2.1/src/glfw3Targets.cmake
  Call Stack (most recent call first):
  CMakeLists.txt:13 (find_package)
  
  -- Found OpenGL: opengl32
  -- Configuring incomplete, errors occurred!
  </code></pre>
  
  <p>The glfw3Config.cmake is having the code</p>
  
  <pre><code>include("${CMAKE_CURRENT_LIST_DIR}/glfw3Targets.cmake")
  </code></pre>
  
  <p>The "CMAKE_CURRENT_LIST_DIR" is </p>
  
  <pre><code>E:/glfw-3.2.1/src/
  </code></pre>
  
  <p>But the glfw3Targets.cmake is located in  </p>
  
  <pre><code>E:/glfw-3.2.1/CMakeFiles/Export/lib/cmake/glfw3/
  </code></pre>
  
  <p>The 'cmake' build is not able to find the glfw3Targets.cmake in the correct path.</p>
  
  <p>How to fix this issue?</p>