No, and that could be the problem, because PIO is doing fine, but Clion is trying to compile something that he doesn’t understand.
Try to remove all the CMake Application from the list, because there are not useful for a project with PIO (except LibsUpdate of course), and keep only PIO configurations:
Be sure to remove “Z_DUMMY_TARGET” in the Executable for LibsUpdate (select nothing instead).
And be sure to launch the command from left button, not the right one, because Clion will try to compile something on its own if you use the right one:
That should remove the “false” compilation error from Clion