Install resource headers correctly, when CLANG_RESOURCE_DIR is set to some non empty string.
Resolves #57708.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60,050 ms | x64 debian > MLIR.Examples/standalone::test.toy |
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 | ||
---|---|---|
272 | Another choice is ${LLVM_BINARY_DIR}/${CMAKE_CFG_INTDIR}, but the variable CMAKE_CFG_INTDIR is deprecated since 3.21 | |
cmake/Modules/GetClangResourceDir.cmake | ||
13 ↗ | (On Diff #474715) | 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