Missing header files in correct configuration with CLion

You’re possibly running into this caveat or haven’t setup the CMake profiles correctly.

Does a right-click on the project and “Reload CMake” show any error messages?