add cmake library