cmake: fix auto-detection of various host targets

Closes #16800
1c5c3f499aJacob Young committed on 8/13/2023, 6:26:10 PM· committed by Andrew Kelleyparent014d88e
2 files changedLine totals unavailable