As the readme in lib/ descibes, I’ve got a project structure something like
|--lib
| |--Foo
| | |- Foo.cpp
| | |- Foo.h
| |- readme.txt
|- platformio.ini
|--src
|- main.cpp
And in main.cpp
I’ve got #include <Foo.h>
. This compiles fine, but it looks like CLion doens’t know that, it says Cannot find Foo.h
and suggests to do #include "../lib/ServoTimer2/ServoTimer2.h"
instead. Is there a way to fix this?