minimum required version of cmake seems to be 2.8.8 as from there it supports TARGET_OBJECTS