copied CMake file from grib pi