Revert cmake to set_properties