Fix the search path for CMake files

This allows to find the LLVM's CMake files after moving them in
r259821.

llvm-svn: 259842
This commit is contained in:
Niels Ole Salscheider 2016-02-04 23:17:20 +00:00
parent c656363533
commit ff56c1c6a0
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ macro(find_llvm_parts)
set(LLVM_INCLUDE_DIR ${INCLUDE_DIR} CACHE PATH "Path to llvm/include")
set(LLVM_BINARY_DIR ${LLVM_OBJ_ROOT} CACHE PATH "Path to LLVM build tree")
set(LLVM_MAIN_SRC_DIR ${MAIN_SRC_DIR} CACHE PATH "Path to LLVM source tree")
set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR}/share/llvm/cmake")
set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm")
else()
set(LLVM_FOUND OFF)
return()