title: How to properly configure vcpkg C++ includePath on macOS VS Code?
body: <p>I installed vcpkg with Homebrew. I followed to instructions on official vcpkg docs.</p>
  <p>I used this command:</p>
  <pre><code>vcpkg integrate project
  </code></pre>
  <p>and got the following message:</p>
  <pre><code>Applied user-wide integration for this vcpkg root.
  CMake projects should use: &quot;-DCMAKE_TOOLCHAIN_FILE=/usr/local/Cellar/vcpkg/2020.11-1/libexec/scripts/buildsystems/vcpkg.cmake&quot;
  </code></pre>
  <p>I added to VS Code settings.json</p>
  <pre><code>&quot;cmake.configureSettings&quot;: {
      &quot;CMAKE_TOOLCHAIN_FILE&quot;: &quot;/usr/local/Cellar/vcpkg/2020.11-1/libexec/scripts/buildsystems/vcpkg.cmake&quot;
    }
  </code></pre>
  <p>and to c_cpp_properties.json includePath:</p>
  <pre><code>&quot;/usr/local/Cellar/vcpkg/2020.11-1/libexec/packages/**&quot;
  </code></pre>
  <p>or:</p>
  <pre><code>&quot;/usr/local/Cellar/vcpkg/2020.11-1/libexec/packages&quot;
  </code></pre>
  <p>and VS Code still can't find any vcpkg library.
  I've got the error:</p>
  <pre><code>#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (/Users/emilmordarski/Uczelnia/PG/teams/freeglut3.cpp).C/C++(1696)
  cannot open source file &quot;freeglut/include/GL/glut.h&quot;C/C++(1696)
  </code></pre>
  <p>I'm on macOS Big Sur 11.1.
  I have installed C/C++, Cmake and few more extensions to support C++ in VS Code.</p>
  <p>I also tried install vcpkg cloning git repo, but an effect was the same. Any ideas?</p>