Cannot resolve include paths in C++

I installed newest version of Cursor, imported my settings from VSCode and opened my C++ project with CMake. In VSCode everything is fine - it successfully resolves include paths and everything, however, Cursor fails to do that.

It cannot resolve paths, though the project is compiled successfully, just the linter doesn’t work.

I tried to add c_cpp_properties.json, as well as compile_commands.json but neither worked. I also tried to add CMakePresets.json but it doesn’t work as well.

I use MSBuild as my generator, since I also generate C# projects from CMake. I am on Windows 11.

Can someone help me to resolve this issue?

The same issue — have you resolved it?