update cmake object linking