If it’s a 2015 one, then the compute capability is 5.0 iirc.
Still that should be detected by the build automatically. I think the 1080 detection was buggy when they just came out. But it should always work now.