diff options
Diffstat (limited to 'lldb/test/CMakeLists.txt')
-rw-r--r-- | lldb/test/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt index 142df66a2d8..49044043edf 100644 --- a/lldb/test/CMakeLists.txt +++ b/lldb/test/CMakeLists.txt @@ -27,6 +27,11 @@ if(TARGET lldb-mi) list(APPEND LLDB_TEST_DEPS lldb-mi) endif() +# This target will only exist if the user is using a CMake older than 3.7 +if(TARGET lldb_header_symlink) + list(APPEND LLDB_TEST_DEPS lldb_header_symlink) +endif() + if ("${LLDB_TEST_COMPILER}" STREQUAL "") string(REGEX REPLACE ".*ccache\ +" "" LLDB_TEST_COMPILER ${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_ARG1}) endif() |