splitting up the cmake file