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

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 10:09:28 PDT 2016


beanz added a comment.

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.


https://reviews.llvm.org/D24503





More information about the llvm-commits mailing list