Cmake migration