minimize
$$\frac{1}{2} w'\Sigma w$$subject to
$$\mu'w + \left(1-\sum_{i=1}^n w_i\right)r_f= r$$where $r=$ target expected return and $r_f=$ borrowing and saving rate.
subject to
$$(\mu-r_f\iota)'w= r = r_f$$But suppose we could guess a efficient portfolio. Then,
$$\text{expected return} = r_f + \beta \times \text{efficient portfolio risk premium}$$