"get_property could not find TARGET clang-resource-headers" during -DCMAKE_CXX_FLAGS=-stdlib=libc++ '-DLLVM_ENABLE_RUNTIMES=compiler-rt;libcxx'

Kind a hi.
I was trying to compile https://go.googlesource.com/gollvm/ using Clang’s C++ compiler and libc++ (instead of GCC and libstdc++ - this project is pretty much LLVM related, which itself means that it could rely on LLVM related sub-projects, at maximum).

https://github.com/golang/go/issues/40407 was formed - it contains my brief explanation.

Ivan

Wasn’t able to attach these files - so here are my links to the log files:
CMakeError.log

CMakeOutput.log

Ivan

This is a bug in the Go CMake files when -DLLVM_ENABLE_RUNTIMES=compiler-rt;libcxx is specified it references a target that has not been created.