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/ExecutionEngine/Interpreter/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'llvm/lib/ExecutionEngine') diff --git a/llvm/lib/ExecutionEngine/Interpreter/CMakeLists.txt b/llvm/lib/ExecutionEngine/Interpreter/CMakeLists.txt index 4dbc2df4c74..7456b3dbe90 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/CMakeLists.txt +++ b/llvm/lib/ExecutionEngine/Interpreter/CMakeLists.txt @@ -10,10 +10,11 @@ add_llvm_library(LLVMInterpreter Execution.cpp ExternalFunctions.cpp Interpreter.cpp + + DEPENDS + intrinsics_gen ) if( LLVM_ENABLE_FFI ) target_link_libraries( LLVMInterpreter PRIVATE ${FFI_LIBRARY_PATH} ) endif() - -add_dependencies(LLVMInterpreter intrinsics_gen) -- cgit v1.2.3