The logic in the CMakeLists.txt doesn't recognize the native MacOS (Xcode) compiler as a clang compiler. The result is that the examples won't build as the search paths and compiler options are wrong.
The work around is to specify a true clang/llvm compiler when running cmake.