[cmake] use 3D as default