forked from OSchip/llvm-project
Fix for lldb-platform linking error on OSX/CMake
Tested on Linux and OSX Submitted for Bob Campbell llvm-svn: 225611
This commit is contained in:
parent
0c9c0c5a6d
commit
88f67808ae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue