diff --git a/lld/lib/Core/CMakeLists.txt b/lld/lib/Core/CMakeLists.txt index a2d1b7ade004..2d4d9ded0886 100644 --- a/lld/lib/Core/CMakeLists.txt +++ b/lld/lib/Core/CMakeLists.txt @@ -21,9 +21,8 @@ add_lld_library(lldCore Support LINK_LIBS - lldCommon - ${LLVM_PTHREAD_LIB} + ${LLVM_PTHREAD_LIB} DEPENDS - ${tablegen_deps} + ${tablegen_deps} ) diff --git a/lld/lib/ReaderWriter/CMakeLists.txt b/lld/lib/ReaderWriter/CMakeLists.txt index 65a68a7578ee..bedb836d2c1e 100644 --- a/lld/lib/ReaderWriter/CMakeLists.txt +++ b/lld/lib/ReaderWriter/CMakeLists.txt @@ -16,6 +16,5 @@ add_lld_library(lldReaderWriter Support LINK_LIBS - lldCommon lldCore )