title: Trouble including glad and GLFW inside a static library built with premake5
body: <p>I'm creating a new project with glad and GLFW, but I'm having trouble including them.</p>
  <p>Whenever I try including glad or GLFW the compiler tells my that it cannot open the included file</p>
  <pre><code>#include &lt;glad/glad.h&gt;
  #include &lt;GLFW/glfw3.h&gt;
  
  // nothing else related to glad or GLFW
  </code></pre>
  <p>I've added them to my additional include directories like this:</p>
  <pre><code>$(ProjectDir)src
  Vendor\GLFW\include
  Vendor\Glad\include
  </code></pre>
  <p>And my project hierarchy looks like this:</p>
  <pre><code>Project
  └─ src
  └─ Vendor
     └─ Glad
     └─ GLFW
  </code></pre>
  <p>Note that this project is a static library included in another project (think app ─ renderer relationship), but I've only tried including glad and GLFW inside the static library (this project). Also note that the GLFW and glad folders both include a premake5.lua file that works just fine.</p>
  <p>And since I'm using premake5 to build my projects I've also taken the liberty of pasting the relevant code below (the project is then included in the main app project):</p>
  <pre><code>include &quot;Renderer/Vendor/GLFW&quot;
  include &quot;Renderer/Vendor/Glad&quot;
  
  project &quot;Renderer&quot;
      location &quot;Renderer&quot;
      kind &quot;StaticLib&quot;
      language &quot;C++&quot;
  
      targetdir &quot;bin/%{cfg.buildcfg}&quot;
  
      files
      {
          &quot;%{prj.name}/src/**.h&quot;,
          &quot;%{prj.name}/src/**.cpp&quot;
      }
  
      includedirs
      {
          &quot;%{prj.name}/$(ProjectDir)src&quot;,
          &quot;Renderer/Vendor/GLFW/include&quot;,
          &quot;Renderer/Vendor/Glad/include&quot;
      }
  
      links
      {
          &quot;GLFW&quot;,
          &quot;Glad&quot;,
          &quot;opengl32.lib&quot;
      }
  
      filter &quot;system:windows&quot;
          cppdialect &quot;C++20&quot;
          staticruntime &quot;On&quot;
          systemversion &quot;latest&quot;
  
          defines
          {
              &quot;GLFW_INCLUDE_NONE&quot;
          }
  
      filter &quot;configurations:Debug&quot;
          defines 
          {
              &quot;DEBUG&quot; 
          }
  
          symbols &quot;On&quot;
  
      filter &quot;configurations:Release&quot;
          defines 
          {
              &quot;NDEBUG&quot; 
          }
  
          optimize &quot;Full&quot;
  </code></pre>