aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorSebastian Neubauer <Sebastian.Neubauer@amd.com>2022-12-07 22:17:39 +0100
committerSebastian Neubauer <Sebastian.Neubauer@amd.com>2022-12-20 11:56:10 +0100
commit3e2a6d7f0317706ad5de93b26b51fda00e493c91 (patch)
tree58af2a51ea0dde9c7dd57aa5f8a7727aeb0e0add /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent1a24bbeefd2ad29e579f871144cfb17a4afb4320 (diff)
downloadllvm-3e2a6d7f0317706ad5de93b26b51fda00e493c91.zip
llvm-3e2a6d7f0317706ad5de93b26b51fda00e493c91.tar.gz
llvm-3e2a6d7f0317706ad5de93b26b51fda00e493c91.tar.bz2
[llvm][cmake] Fix add_subdirectory build in multi-config
Using CMAKE_CFG_INTDIR in paths that are used in configure_file, resulted in a folder that is literally called '${CONFIGURATION}' for the multi-config ninja build. I think this is a regression from a while ago. Fix this by replacing CMAKE_CFG_INTDIR with '.'. We can only create one of the LLVMConfig.cmake files as the consuming CMake project can only import a single file. This creates LLVMConfig.cmake and others in the place where they were previously and where they are for a single-config build. Differential Revision: https://reviews.llvm.org/D139623
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions