[Lldb-commits] [lldb] r294549 - [cmake] add missing dependency lldbCommands->lldbBase

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 8 17:17:34 PST 2017


Author: labath
Date: Wed Feb  8 19:17:34 2017
New Revision: 294549

URL: http://llvm.org/viewvc/llvm-project?rev=294549&view=rev
Log:
[cmake] add missing dependency lldbCommands->lldbBase

CommandObjectVersion.cpp calls lldb_private::GetVersion (present in lldbBase).

This should fix the unittest link on windows. I am not sure why is this not
present on other platforms -- my guess is that there lldbBase is included in
the link through some other dependency chain.

Modified:
    lldb/trunk/source/Commands/CMakeLists.txt

Modified: lldb/trunk/source/Commands/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CMakeLists.txt?rev=294549&r1=294548&r2=294549&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CMakeLists.txt (original)
+++ lldb/trunk/source/Commands/CMakeLists.txt Wed Feb  8 19:17:34 2017
@@ -31,6 +31,7 @@ add_lldb_library(lldbCommands
   CommandObjectLanguage.cpp
 
   LINK_LIBS
+    lldbBase
     lldbBreakpoint
     lldbCore
     lldbDataFormatters




More information about the lldb-commits mailing list