From 0d5c5936cbe0ff3cf7d78ade4df52053f95fd6a1 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Mon, 23 Apr 2018 08:44:06 +0000 Subject: [PATCH] [CMake] Gate 'dsymutil' dependency Only add `dsymutil` as a test dependency when this is not a stand-alone build (LLDB_BUILT_STANDALONE). llvm-svn: 330568 --- lldb/test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt index 040d7ae53799..e1ffda07d30f 100644 --- a/lldb/test/CMakeLists.txt +++ b/lldb/test/CMakeLists.txt @@ -13,7 +13,7 @@ function(add_python_test_target name test_script args comment) ) endfunction() -set(LLDB_TEST_DEPS lldb dsymutil) +set(LLDB_TEST_DEPS lldb) # darwin-debug is an hard dependency for the testsuite. if (CMAKE_SYSTEM_NAME MATCHES "Darwin") @@ -35,7 +35,7 @@ if(TARGET lldb-mi) endif() if(NOT LLDB_BUILT_STANDALONE) - list(APPEND LLDB_TEST_DEPS yaml2obj) + list(APPEND LLDB_TEST_DEPS yaml2obj dsymutil) endif() if(TARGET liblldb)