mal cmake