diff options
| -rw-r--r-- | lld/lib/Core/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lld/lib/Core/CMakeLists.txt b/lld/lib/Core/CMakeLists.txt index 2c2d74ba16c..d9b22cb6bea 100644 --- a/lld/lib/Core/CMakeLists.txt +++ b/lld/lib/Core/CMakeLists.txt @@ -1,3 +1,7 @@ +if(NOT LLD_BUILT_STANDALONE) + set(tablegen_deps intrinsics_gen) +endif() + add_lld_library(lldCore DefinedAtom.cpp Error.cpp @@ -15,4 +19,7 @@ add_lld_library(lldCore LINK_COMPONENTS Support + + DEPENDS + ${tablegen_deps} ) |

