As you can see in the screenshot, cmake managed to find llvm-ar and llvm-ranlib, yet it did not managed to set correctly CMAKE_CXX_COMPILER_AR.