vs22 cmake include path doesn't work for new vcpkg packages

22 views Asked by At

I have a project in VS22 17.9.2 using CMake and VC package on WSL:Ubuntu. redis++ and nlogmann-json packages are included and they work fine.

When I added a new package ASIO, VS intellisense doesn't seem to see it in includes.

#include <asio.hpp> is not recognized as a valid path even though I can see it in my vcpkg_installed/x64-window/include.

Is there some magic to determine what it allows to be used? I have it included in CMakeLists.txt and it builds fine.

enter image description here

0

There are 0 answers