title: C++ include error with a precompiled header
body: <p>I've to include the Intel Open Image Denoise (<a href="https://openimagedenoise.github.io/index.html" rel="nofollow noreferrer">https://openimagedenoise.github.io/index.html</a>) to work with my current c++ project. I have this project with it's own CMakeFiles and structure, with the main file in the app directory and other directories like scripts, tests etc. Libraries are in the libs directory, so the structure is like</p>
  
  <pre><code>-app
   |-main.cpp
  -libs
    |-lib1
    |-lib2
    |-oidn
    |-CMakeFile.txt
  -otherFolders
  -CMakeFile.txt
  </code></pre>
  
  <p>Now in the libs folder I have the "oidn" folder which I downloaded from the website and it is the PRECOMPILED version. The structure is</p>
  
  <pre><code>-oidn
   |-bin (binaries)
   |-doc (documentation)
   |-include
   | |-OpenImageDenoise (what I actually need)
   |   |-oidn.hpp
   |   |-oidn.h
   |   |-version.h
   |-lib
   | |-cmake (folder with .cmake files)
   | |-libOpenImageDenoise.so
   | |-libOpenImageDenoise.so.0
   | |-libOpenImageDenoise.so.1.2.0
   | |-libtbb.so.2
  </code></pre>
  
  <p>Now what I want is to be able to use this library, calling it inside the main. I've added in the main</p>
  
  <pre><code>#include &lt;OpenImageDenoise/oidn.hpp&gt;
  </code></pre>
  
  <p>but VSCode tells me to update the includePath. I have done it and now no erros form VSCode that also suggests me code. But when i go building with CMake, it wont building raising the error</p>
  
  <pre><code>fatal error: OpenImageDenoise/oidn.hpp: No such file or directory
  #include &lt;OpenImageDenoise/oidn.hpp&gt;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.
  ninja: build stopped: subcommand failed.
  </code></pre>
  
  <p>Why it is not finding the library? Is it not possible to use a precompiled version? Should I include something in the CMakeFile.txt? </p>