[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
This commit is contained in:
Jonas Devlieghere 2018-04-23 08:44:06 +00:00
parent e489e26d0e
commit 0d5c5936cb

View File

@ -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)