llvm_check_source_file_list currently only accepts paths relative to current CMAKE_SOURCE_DIR. Extend it to any path, including absolute ones.
Details
Diff Detail
Event Timeline
Error message updated.
cmake/modules/LLVMProcessSources.cmake | ||
---|---|---|
85–91 | ${entry} is still used in `list(FIND LLVM_OPTIONAL_SOURCES ${entry} idx)`. I don't quite get where LLVM_OPTIONAL_SOURCES is set though. |
cmake/modules/LLVMProcessSources.cmake | ||
---|---|---|
100–105 | I think ${g} is still gonna be the full path, since it's the result of a glob. You'll need to do an explicit relative path calculation. |
Error message checked on our codebase without issue. Indeed a relative path looks prettier.
You should be able to delete this entire block now.