diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake index bc25a73b113..ec4252e6040 100644 --- a/cmake/modules/TableGen.cmake +++ b/cmake/modules/TableGen.cmake @@ -79,8 +79,6 @@ if(CMAKE_CROSSCOMPILING) endif() macro(add_tablegen target project) - set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${LLVM_TOOLS_BINARY_DIR}) - set(${target}_OLD_LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS}) set(LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS} TableGen) add_llvm_utility(${target} ${ARGN})