build: use the correct variable
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 14 May 2019 17:24:45 +0000 (17:24 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 14 May 2019 17:24:45 +0000 (17:24 +0000)
Adjust the variable that controls whether the unit tests use `lldb-server`.
This should repair the default build on Windows.

llvm-svn: 360695

lldb/unittests/tools/CMakeLists.txt

index 4c65786..b910be2 100644 (file)
@@ -1,6 +1,6 @@
 if(LLDB_TOOL_LLDB_MI_BUILD)
   add_subdirectory(lldb-mi)
 endif()
-if(LLDB_TOOL_LLDB_SERVER_BUILD)
+if(LLDB_CAN_USE_LLDB_SERVER)
   add_subdirectory(lldb-server)
 endif()