PlatformIO Community

Clion ESP32 Arduino generated project doesn't have targets set

I’m trying to use platformio with CLion IDE for compiling Arduino code.
My configuration is:
Mac OS Mojave 10.14
CLion 2019.3
Platformio v. 4.1.0

I followed all instructions indicated:
pio init --board esp32dev --ide clion
added Arduino sketch after changing its extension to .cpp
execute again pio init --ide clion

When I open the project all items in “BUILD” menu are greyed out.
If I edit the configuration in “RUN” menu this is what I get (see attachment).

If I execute “pio run” from the command line, everything works fine.
Any hints (please do not tell me to read the instructions again, I installed File watchers and INI plug-ins).

Thanks in Advance