This patch adjusts the path for the cmake directory to work properly on systems with libsuffix=64. Not sure if it is the preferred way of fixing that but it fixed the build for me.
--- CMakeLists.txt.old 2016-06-03 00:19:08.676041254 +0200 +++ CMakeLists.txt 2016-06-03 00:19:48.778920468 +0200 @@ -72,7 +72,7 @@ find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH) - set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm") + set(LLVM_CMAKE_PATH "${LLVM_LIBRARY_DIR}/cmake/llvm") set(LLVMCONFIG_FILE "${LLVM_CMAKE_PATH}/LLVMConfig.cmake") if(EXISTS ${LLVMCONFIG_FILE}) list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_PATH}")
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits