File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,11 @@ macro(add_optional_dependency variable description package found)
5151  message (STATUS  "${description} : ${${variable} }" )
5252endmacro ()
5353
54+ set (LLDB_LIBXML2_VERSION "2.8"  CACHE  STRING 
55+   "Specify the version of libxml 2 to use with LLDB. This is only meant to be overridden for local 
56+   static builds of libxml 2. Use at your own risk." )
57+ mark_as_advanced (LLDB_LIBXML2_VERSION)
58+ 
5459add_optional_dependency(LLDB_ENABLE_SWIG "Enable SWIG to generate LLDB bindings"  SWIG SWIG_FOUND VERSION  4)
5560
5661# BEGIN SWIFT MOD 
@@ -67,7 +72,7 @@ add_optional_dependency(LLDB_ENABLE_CURSES "Enable curses support in LLDB" Curse
6772add_optional_dependency(LLDB_ENABLE_LZMA "Enable LZMA compression support in LLDB"  LibLZMA LIBLZMA_FOUND)
6873add_optional_dependency(LLDB_ENABLE_LUA "Enable Lua scripting support in LLDB"  LuaAndSwig LUAANDSWIG_FOUND)
6974add_optional_dependency(LLDB_ENABLE_PYTHON "Enable Python scripting support in LLDB"  PythonAndSwig PYTHONANDSWIG_FOUND)
70- add_optional_dependency(LLDB_ENABLE_LIBXML2 "Enable Libxml 2 support in LLDB"  LibXml2 LIBXML2_FOUND VERSION  2.8 )
75+ add_optional_dependency(LLDB_ENABLE_LIBXML2 "Enable Libxml 2 support in LLDB"  LibXml2 LIBXML2_FOUND VERSION  ${LLDB_LIBXML2_VERSION} )
7176add_optional_dependency(LLDB_ENABLE_FBSDVMCORE "Enable libfbsdvmcore support in LLDB"  FBSDVMCore FBSDVMCore_FOUND QUIET )
7277
7378option (LLDB_USE_ENTITLEMENTS "When codesigning, use entitlements if available"  ON )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments