Fix build break for builing LLILC out of LLVM

This commit is contained in:
Kyungwoo Lee 2016-02-16 13:23:05 -08:00
Родитель d433391f7f
Коммит 623db1ae85
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -61,13 +61,11 @@ if ( NOT LLVM_TARGET_IS_CROSSCOMPILE_HOST )
message(FATAL_ERROR "Could not find LLVM. Please set WITH_LLVM to a directory where LLVM has been built or installed.")
endif()
list(APPEND CMAKE_MODULE_PATH "${WITH_LLVM_ABS}/share/llvm/cmake")
list(APPEND CMAKE_MODULE_PATH "${WITH_LLVM_ABS}/lib/cmake/llvm")
else()
list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_DIR}")
endif()
list(APPEND CMAKE_MODULE_PATH "${WITH_LLVM_ABS}/share/llvm/cmake")
option(LLVM_INSTALL_TOOLCHAIN_ONLY "Only include toolchain files in the 'install' target." OFF)
include(LLVMConfig)