From 05c279fc4b62d672afa4232f8efbcdca42ef5085 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Thu, 17 Nov 2016 04:36:50 +0000 Subject: [CMake] NFC. Updating CMake dependency specifications This patch updates a bunch of 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: 287206 --- llvm/lib/Bitcode/Reader/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Bitcode/Reader') diff --git a/llvm/lib/Bitcode/Reader/CMakeLists.txt b/llvm/lib/Bitcode/Reader/CMakeLists.txt index 62954f26e20..ca63f94607e 100644 --- a/llvm/lib/Bitcode/Reader/CMakeLists.txt +++ b/llvm/lib/Bitcode/Reader/CMakeLists.txt @@ -5,6 +5,7 @@ add_llvm_library(LLVMBitReader ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Bitcode - ) -add_dependencies(LLVMBitReader intrinsics_gen) + DEPENDS + intrinsics_gen + ) -- cgit v1.2.3