adapt proj/cmake