Fix the search path for CMake files

This fixes the build after moving LLVM's CMake files in r259821.

llvm-svn: 259832
This commit is contained in:
Niels Ole Salscheider 2016-02-04 21:45:02 +00:00
parent 09247f8955
commit bd2515461a
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ else()
# Make use of LLVM CMake modules.
file(TO_CMAKE_PATH ${LLVM_BINARY_DIR} LLVM_BINARY_DIR_CMAKE_STYLE)
set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR_CMAKE_STYLE}/share/llvm/cmake")
set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR_CMAKE_STYLE}/lib/cmake/llvm")
list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_PATH}")
# Get some LLVM variables from LLVMConfig.
include("${LLVM_CMAKE_PATH}/LLVMConfig.cmake")