[Lldb-commits] [lldb] r194815 - Improve the set of the Python libraries during the cmake build.
Sylvestre Ledru
sylvestre at debian.org
Fri Nov 15 06:15:11 PST 2013
Author: sylvestre
Date: Fri Nov 15 08:15:10 2013
New Revision: 194815
URL: http://llvm.org/viewvc/llvm-project?rev=194815&view=rev
Log:
Improve the set of the Python libraries during the cmake build.
Thanks to Kal Conley for the patch
Modified:
lldb/trunk/source/CMakeLists.txt
Modified: lldb/trunk/source/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/CMakeLists.txt?rev=194815&r1=194814&r2=194815&view=diff
==============================================================================
--- lldb/trunk/source/CMakeLists.txt (original)
+++ lldb/trunk/source/CMakeLists.txt Fri Nov 15 08:15:10 2013
@@ -139,11 +139,12 @@ set( CLANG_USED_LIBS
clangSerialization
)
+set(LLDB_SYSTEM_LIBS)
if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
- set( LLDB_SYSTEM_LIBS
- edit
- python2.7
- )
+ list(APPEND LLDB_SYSTEM_LIBS edit)
+endif()
+if (NOT LLDB_DISABLE_PYTHON)
+ list(APPEND LLDB_SYSTEM_LIBS ${PYTHON_LIBRARIES})
endif()
set( LLVM_LINK_COMPONENTS
More information about the lldb-commits
mailing list