X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=CMakeLists.txt;h=d473f51b59beabe6cf3c6bfaa73b14e4d000548d;hb=58f38bfa2457d4729a5bdacde193dc7c7d25ac9e;hp=7f3ec802df6a02c900427e940ccc4e66b16b6a02;hpb=0e69aff03aa796563f7b21e9dbb17344efa017c4;p=oota-llvm.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f3ec802df6..d473f51b59b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -323,11 +323,12 @@ foreach(t ${LLVM_TARGETS_TO_BUILD}) add_subdirectory(lib/Target/${t}/AsmPrinter) set(LLVM_ENUM_ASM_PRINTERS "${LLVM_ENUM_ASM_PRINTERS}LLVM_ASM_PRINTER(${t})\n") + endif( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/AsmPrinter/CMakeLists.txt ) if( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/InstPrinter/CMakeLists.txt ) add_subdirectory(lib/Target/${t}/InstPrinter) - set(LLVM_ENUM_ASM_PRINTERS + set(LLVM_ENUM_ASM_PRINTERS "${LLVM_ENUM_ASM_PRINTERS}LLVM_ASM_PRINTER(${t})\n") - endif( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/AsmPrinter/CMakeLists.txt ) + endif( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/InstPrinter/CMakeLists.txt ) if( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/AsmParser/CMakeLists.txt ) add_subdirectory(lib/Target/${t}/AsmParser) set(LLVM_ENUM_ASM_PARSERS