Commit 1daf3e8
committed
snapshot-macos: disable HAVE_COCOA -> headless highgui (match linux)
OpenCV 5 sets HAVE_COCOA unconditionally on APPLE+clang (no WITH_COCOA switch),
pulling window_cocoa.mm which mcpp can't compile (.mm unsupported) -> undefined
Cocoa symbols at link. Neutralize the one cmake line so highgui falls through to
the headless path, identical API surface to linux (no GUI window backend).1 parent 7b27f0e commit 1daf3e8
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
26 | 34 | | |
27 | 35 | | |
28 | 36 | | |
| |||
0 commit comments