[Lldb-commits] [lldb] r211899 - [cmake] When Python is disabled for LLDB, don't try to install the

Chandler Carruth chandlerc at gmail.com
Fri Jun 27 08:04:42 PDT 2014


Author: chandlerc
Date: Fri Jun 27 10:04:42 2014
New Revision: 211899

URL: http://llvm.org/viewvc/llvm-project?rev=211899&view=rev
Log:
[cmake] When Python is disabled for LLDB, don't try to install the
python bindings.

For example, this prevents errors on systems that disable python because
the system python isn't available. Without this, we still try to install
things and get install errors when that doesn't work.

Modified:
    lldb/trunk/CMakeLists.txt

Modified: lldb/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/CMakeLists.txt?rev=211899&r1=211898&r2=211899&view=diff
==============================================================================
--- lldb/trunk/CMakeLists.txt (original)
+++ lldb/trunk/CMakeLists.txt Fri Jun 27 10:04:42 2014
@@ -315,7 +315,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}
 
 #add_subdirectory(include)
 add_subdirectory(docs)
-if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
+if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows" AND NOT LLDB_DISABLE_PYTHON)
   add_subdirectory(scripts)
 endif()
 add_subdirectory(source)





More information about the lldb-commits mailing list