Change set_target_properties to set_property

set_target_properties seems to be wrongly used