aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorMichael Spencer <bigcheesegs@gmail.com>2023-12-14 14:03:19 -0800
committerGitHub <noreply@github.com>2023-12-14 14:03:19 -0800
commitf956bfe169c7debd72acd22b124e5ae78174b3a0 (patch)
tree3cbef38a158ebe0d3627f52e7ebf25df99836024 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent23ccb02c59d2ad6c1e8c79b7bf0e98c2afc36fb9 (diff)
downloadllvm-f956bfe169c7debd72acd22b124e5ae78174b3a0.zip
llvm-f956bfe169c7debd72acd22b124e5ae78174b3a0.tar.gz
llvm-f956bfe169c7debd72acd22b124e5ae78174b3a0.tar.bz2
[llvm][cmake] Use $<CONFIG> instead of ${CMAKE_CFG_INTDIR} for llvm-config (#75417)
${CMAKE_CFG_INTDIR} does not work correctly for llvm-config when building with the Ninja Multi-Config generator. It tries to find files in the ${CONFIGURATION} directory. Using the $<CONFIG> generator expression instead fixes this. Really this needs to be done everywhere as ${CMAKE_CFG_INTDIR} is deprecated as of 3.21 (LLVM's current min version is 3.20), but this is sufficient to get `check-llvm` to pass. See https://cmake.org/cmake/help/latest/variable/CMAKE_CFG_INTDIR.html
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions