Attempt to fix windows build broken by r334968
authorPavel Labath <labath@google.com>
Tue, 19 Jun 2018 14:23:31 +0000 (14:23 +0000)
committerPavel Labath <labath@google.com>
Tue, 19 Jun 2018 14:23:31 +0000 (14:23 +0000)
The issue was that there was no dependency from lldb-suite target to liblldb in
the no-framework scenario. This caused the finish-swig target to be executed
prematurely and fail (because it cannot copy liblldb to the python folder). On
other platforms this did not matter because there just creates a symlink.

The extra lldb-suite -> liblldb edge should fix this. Technically, I could add
this just to the !framework case as the framework target will take care of the
transitive dep, but it seemed more clear to make the dep unconditional.

llvm-svn: 335047

lldb/CMakeLists.txt

index 0047f77..a5e0cae 100644 (file)
@@ -152,6 +152,7 @@ if (LLDB_BUILD_FRAMEWORK)
   include(LLDBFramework)
   add_dependencies(lldb-suite lldb-framework)
 endif()
+add_dependencies(lldb-suite liblldb)
 
 if (NOT LLDB_DISABLE_PYTHON)
     # Add a Post-Build Event to copy over Python files and create the symlink