Install resource headers correctly, when CLANG_RESOURCE_DIR is set to some non empty string.
Resolves #57708.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
This change introduces a lot of conditional code, that is not necessary. This change also uses CLANG_ outside clang/ which is messy. and confusing. Please clean up.
clang/lib/Headers/CMakeLists.txt | ||
---|---|---|
285 | Another choice is ${LLVM_BINARY_DIR}/${CMAKE_CFG_INTDIR}, but the variable CMAKE_CFG_INTDIR is deprecated since 3.21 | |
cmake/Modules/GetClangResourceDir.cmake | ||
14 | Can I always rely on PACKAGE_VERSION? |
Another choice is ${LLVM_BINARY_DIR}/${CMAKE_CFG_INTDIR}, but the variable CMAKE_CFG_INTDIR is deprecated since 3.21