diff options
author | Chris Bieneman <beanz@apple.com> | 2016-11-17 04:36:35 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-11-17 04:36:35 +0000 |
commit | aeb30257c52623b39c20f4a71af738af47bde81a (patch) | |
tree | 2f2558a0e34e4957211a7dae944f2dec722fac76 | |
parent | 20ba24e231e9fcd564342debb9bd69d9592b77c4 (diff) | |
download | bcm5719-llvm-aeb30257c52623b39c20f4a71af738af47bde81a.tar.gz bcm5719-llvm-aeb30257c52623b39c20f4a71af738af47bde81a.zip |
[CMake] NFC. Updating CMake dependency specifications
This patch updates a couple places where add_dependencies was being explicitly called to add dependencies on intrinsics_gen to instead use the DEPENDS named parameter. This cleanup is needed for a patch I'm working on to add a dependency debugging mode to the build system.
llvm-svn: 287205
-rw-r--r-- | lld/COFF/CMakeLists.txt | 6 | ||||
-rw-r--r-- | lld/ELF/CMakeLists.txt | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lld/COFF/CMakeLists.txt b/lld/COFF/CMakeLists.txt index 94081fcb7bd..d8fb23f972b 100644 --- a/lld/COFF/CMakeLists.txt +++ b/lld/COFF/CMakeLists.txt @@ -35,6 +35,8 @@ add_lld_library(lldCOFF LINK_LIBS lldCore ${PTHREAD_LIB} - ) -add_dependencies(lldCOFF COFFOptionsTableGen intrinsics_gen) + DEPENDS + COFFOptionsTableGen + intrinsics_gen + ) diff --git a/lld/ELF/CMakeLists.txt b/lld/ELF/CMakeLists.txt index 65f4359b9a6..84a49e9e3d0 100644 --- a/lld/ELF/CMakeLists.txt +++ b/lld/ELF/CMakeLists.txt @@ -52,6 +52,8 @@ add_lld_library(lldELF lldConfig lldCore ${PTHREAD_LIB} - ) -add_dependencies(lldELF intrinsics_gen ELFOptionsTableGen) + DEPENDS + ELFOptionsTableGen + intrinsics_gen + ) |