mixed_type cmake