+-/ bin
    +-/ include
    | +-catch.hpp
    | +-fact.hpp
    | +-mylib.hpp
    +-/ src
    | +-CMakeLists.txt
    | +-fact.cpp
    +-/ library
    | +-CMakeLists.txt
    | +-mylib.cpp
    +-/ test

When fact.cpp is edited on VSCode with the directory structure shown above, the include path is specified in CMakeLists.txt during compilation, so the fact.cpp include is set as follows: However, in this case, an error is detected on VSCode, and the code completion function will not work.
Can some settings solve this problem?


#include "fact.hpp"

We are looking forward to your response.