We study phase transitions driven by fermionic double-trace deformations in gauge-gravity duality. Both the strength of the double trace deformation and the infrared conformal dimension/self-energy scaling of the quasiparticle can be used to decrease the critical temperature to zero, leading to a line of quantum critical points. The self-energy scaling is controlled indirectly through an applied magnetic field and the quantum phase transition naturally involves the condensation of a fermion bilinear which models the spin density wave in an antiferromagnetic state. The nature of the quantum critical points depends on the parameters and we find either a Berezinskii-Kosterlitz-Thouless-type transition or one of two distinct second order transitions with non-mean field exponents. One of these is an anomalous branch where the order parameter of constituent non-Fermi liquid quasiparticles is enhanced by the magnetic field. Stabilization of ordered non-Fermi liquids by a strong magnetic field is observed in experiments with highly oriented pyrolytic graphite.