Commit e294639a6dff23a35f3c0961eabb054c937893c4

Ryan C. Gordon 2020-06-27T02:00:58

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.