Causes link issues on Xcode-12 where the "New Build System"
is the default.
https://devtalk.blender.org/t/input-file-cannot-be-found-xlinker/16273
Another fix is to set build system to legacy using -T buildsystem=1 flag
in CMake. But it needs CMake 3.19. See CMAKE_XCODE_BUILD_SYSTEM.