aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorDan Liew <dan@su-root.co.uk>2015-06-30 17:16:39 +0000
committerDan Liew <dan@su-root.co.uk>2015-06-30 17:16:39 +0000
commite9225da769da84762a0aa27d1f48d85328206af4 (patch)
tree83187bd936a30221e2bbf4a73b8fc8d33aefc5a0 /clang/lib/Basic/Module.cpp
parent4a9babb26e91ecc27d95da7ad129941e8aa33b0e (diff)
downloadllvm-e9225da769da84762a0aa27d1f48d85328206af4.zip
llvm-e9225da769da84762a0aa27d1f48d85328206af4.tar.gz
llvm-e9225da769da84762a0aa27d1f48d85328206af4.tar.bz2
[CMake] Make the CMake files (LLVMConfig.cmake and LLVMExports.cmake)
generated by the Autoconf/Makefile build system relocatable. Previously the generated CMake files contained hardcoded paths which prevented a binary installation from being relocated to a different place in the file system. This problem was most noticeable in LLVM's official binary releases which were completely unusable by a downstream project trying to import the CMake targets. Package maintainers who choose to modify the install location of the CMake directory without using the ``PROJ_cmake`` Makefile variable override will need to patch the generated``LLVMConfig.cmake`` so that ``LLVM_INSTALL_PREFIX`` and ``_LLVM_CMAKE_DIR`` variables are set correctly. llvm-svn: 241080
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions