[PATCH] D24503: [CMake] Fixing lit for runtimes directory

Jonas Hahnfeld via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 23:32:56 PDT 2016


Hahnfeld added a comment.

In https://reviews.llvm.org/D24503#541407, @beanz wrote:

> LLVMConfig.cmake does have `LLVM_BUILD_MAIN_SRC_DIR` which is set to the value of `LLVM_MAIN_SRC_DIR`, so we should instead just do `set(LLVM_MAIN_SRC_DIR ${LLVM_BUILD_MAIN_SRC_DIR})`  around line 60 where we map up the other variables that don't match between in-tree builds and LLVMConfig.cmake.


Ah thanks, that looks much better!


https://reviews.llvm.org/D24503





More information about the llvm-commits mailing list