make generated cmake relocatable