commit | 771a8437a3449be36dc405e2964bc9a10dc5d2ce | [log] [tgz] |
---|---|---|
author | Ryan C. Gordon <icculus@icculus.org> | Sat Jun 27 02:00:58 2020 -0400 |
committer | Ryan C. Gordon <icculus@icculus.org> | Sat Jun 27 02:00:58 2020 -0400 |
tree | 341b6757bcccf5eb4f53fbe093c320bc653a5a2c | |
parent | dd9e0c2f2499dae2b60970b39741059c92438b57 [diff] |
cmake: Fix Metal detection on macOS/iOS. Apparently the "-x objective-c" made it down to the linker, who then treats the .o file as Objective-C source code. Apparently the -ObjC argument does the same thing but gets ignored by the linker. Fixes Bugzilla #4988. --HG-- extra : histedit_source : d48eaccf4e2a8abbe73ba5bfda660cec9cc49803