title: Linking a static library causes errors in the linked library
body: <p>I have a small library project that uses OpenGL (glfw and glew). Now, the project compiles fine, but when I create a new project and statically link the library project, VS starts to throw errors in the library project. Why is that?</p>
  
  <p>More specifically, I get this error:</p>
  
  <pre><code>error C1083: Cannot open include file 'GL/glew.h': No such file or directory (file: trenums3d.h)
  </code></pre>
  
  <p>The project setup is like this: There's the library project 'Foo', which is compiled into a static library ('Foo.lib'). The application project 'Bar' links 'Foo' (I added the folder where Foo.lib resides to Bar's 'Additional Library Directories', as well as the source folder of 'Foo' to Bar's 'Additional Include Directories'). If I compile only the library project, everything works just fine, but compiling the whole solution give me the aforementioned error.</p>