In Construction of 1-dimensional subsets of the reals not containing similar copies of given patterns TamasTamás Keleti constructs a compact set of Hausdorff dimension $1$ which contains no similar copy of any out a given countable number of $3$-element sets. In particular, there is a compact set of Hausdorff dimension $1$ which does not contain any arithmetic progressions.
His construction does not use Behrend's example at all, and it is intrinsic to the reals as it depends on a multi-scale argument, so it is substantially different from Adam Goucher's nice solution.
On the other hand, an easy application of the Lebesgue density theorem shows that any set of positive Lebesgue measure contains an arithmetic progression of length $3$ (and of any finite length).