llvm_check_source_file_list currently only accepts paths relative to current CMAKE_SOURCE_DIR. Extend it to any path, including absolute ones.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Error message updated.
cmake/modules/LLVMProcessSources.cmake | ||
---|---|---|
84–89 ↗ | (On Diff #138948) | ${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 | ||
---|---|---|
99 ↗ | (On Diff #138997) | 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. |
Comment Actions
Error message checked on our codebase without issue. Indeed a relative path looks prettier.