Deprecated. Use avr-cmake instead.
CMake project for CLion
Finally figured it out. Just git clone & File -> Import Project... or Import Project from Sources in CLion