All of my campaigning generals eventually get this trait, which has a 1-in-3 chance of being acquired each turn a general spends outside a settlement.

Will building a fort count as a "settlement" to keep them from getting this trait?