Use CACHE variable for other common CMAKE variable