X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Fobj2yaml%2FCMakeLists.txt;h=3cdac5c7487522c716add72001ee9f33510ad8e8;hb=41e69be6cb0cc18a4f3d55ff28da0f0fe0b4caac;hp=6b39193e47deb88bcf79c87dc5e0bde90af252e4;hpb=5cd6db9a514ccb37df20455e543c88df5594eec0;p=oota-llvm.git diff --git a/tools/obj2yaml/CMakeLists.txt b/tools/obj2yaml/CMakeLists.txt index 6b39193e47d..3cdac5c7487 100644 --- a/tools/obj2yaml/CMakeLists.txt +++ b/tools/obj2yaml/CMakeLists.txt @@ -1,7 +1,8 @@ -set(LLVM_LINK_COMPONENTS object) - -add_llvm_utility(obj2yaml - obj2yaml.cpp coff2yaml.cpp +set(LLVM_LINK_COMPONENTS + Object + Support ) -target_link_libraries(obj2yaml LLVMSupport) +add_llvm_tool(obj2yaml + obj2yaml.cpp coff2yaml.cpp elf2yaml.cpp Error.cpp + )