Index: test/CMakeLists.txt =================================================================== --- test/CMakeLists.txt +++ test/CMakeLists.txt @@ -113,6 +113,13 @@ # to run tests. if (TARGET clang) add_dependencies(check-lldb clang) + if (CMAKE_SYSTEM_NAME MATCHES "Windows") + if (TARGET lld) + add_dependencies(check-lldb lld) + else () + message(WARNING "lld required to test LLDB on Windows") + endif () + endif () endif() add_custom_target(lldb-test-depends DEPENDS ${LLDB_TEST_DEPENDS})