PlatformIO Community

Problem installing external libraries with CLion

I am trying to use external libraries in my CLion-PlatformIO project. I installed the libraries with pio lib install ... and they show up in .piolibdevs, but they are not found when building the project.
I tried “PLATFORMIO_REBUILD_PROJECT_INDEX” and to restart CLion, do another “platformio init --ide clion”, but to no avail.
Do I need to perform some other manual step to get this working? Or is this way of installing libraries not supported when working with CLion?

You need to refresh Cmake targets.