[Lldb-commits] [lldb] r225611 - Fix for lldb-platform linking error on OSX/CMake
Vince Harron
vharron at google.com
Sun Jan 11 10:38:25 PST 2015
Author: vharron
Date: Sun Jan 11 12:38:25 2015
New Revision: 225611
URL: http://llvm.org/viewvc/llvm-project?rev=225611&view=rev
Log:
Fix for lldb-platform linking error on OSX/CMake
Tested on Linux and OSX
Submitted for Bob Campbell
Modified:
lldb/trunk/tools/lldb-platform/CMakeLists.txt
Modified: lldb/trunk/tools/lldb-platform/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-platform/CMakeLists.txt?rev=225611&r1=225610&r2=225611&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-platform/CMakeLists.txt (original)
+++ lldb/trunk/tools/lldb-platform/CMakeLists.txt Sun Jan 11 12:38:25 2015
@@ -22,8 +22,14 @@ add_lldb_executable(lldb-platform
lldb-platform.cpp
../../source/lldb-log.cpp
../../source/lldb.cpp
+ ${LLDB_WRAP_PYTHON}
+ ${LLDB_VERS_GENERATED_FILE}
)
+if (LLDB_WRAP_PYTHON OR LLDB_VERS_GENERATED_FILE)
+ add_dependencies(lldb-platform swig_wrapper)
+endif()
+
# The Darwin linker doesn't understand --start-group/--end-group.
if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
target_link_libraries(lldb-platform
More information about the lldb-commits
mailing list