diff --git a/lldb/cmake/modules/FindLuaAndSwig.cmake b/lldb/cmake/modules/FindLuaAndSwig.cmake
--- a/lldb/cmake/modules/FindLuaAndSwig.cmake
+++ b/lldb/cmake/modules/FindLuaAndSwig.cmake
@@ -7,7 +7,7 @@
if(LUA_LIBRARIES AND LUA_INCLUDE_DIR AND SWIG_EXECUTABLE)
set(LUAANDSWIG_FOUND TRUE)
else()
- find_package(SWIG 2.0)
+ find_package(SWIG 3.0)
if (SWIG_FOUND)
find_package(Lua 5.3)
if(LUA_FOUND AND SWIG_FOUND)
@@ -17,7 +17,7 @@
SWIG_EXECUTABLE)
endif()
else()
- message(STATUS "SWIG 2 or later is required for Lua support in LLDB but could not be found")
+ message(STATUS "SWIG 3 or later is required for Lua support in LLDB but could not be found")
endif()
include(FindPackageHandleStandardArgs)
diff --git a/lldb/cmake/modules/FindPythonAndSwig.cmake b/lldb/cmake/modules/FindPythonAndSwig.cmake
--- a/lldb/cmake/modules/FindPythonAndSwig.cmake
+++ b/lldb/cmake/modules/FindPythonAndSwig.cmake
@@ -38,11 +38,11 @@
if(Python3_LIBRARIES AND Python3_INCLUDE_DIRS AND Python3_EXECUTABLE AND SWIG_EXECUTABLE)
set(PYTHONANDSWIG_FOUND TRUE)
else()
- find_package(SWIG 2.0)
+ find_package(SWIG 3.0)
if (SWIG_FOUND)
FindPython3()
else()
- message(STATUS "SWIG 2 or later is required for Python support in LLDB but could not be found")
+ message(STATUS "SWIG 3 or later is required for Python support in LLDB but could not be found")
endif()
get_property(MULTI_CONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
diff --git a/lldb/docs/resources/build.rst b/lldb/docs/resources/build.rst
--- a/lldb/docs/resources/build.rst
+++ b/lldb/docs/resources/build.rst
@@ -34,7 +34,7 @@
scripting support.
* `Python `_
-* `SWIG `_ 2 or later.
+* `SWIG `_ 3 or later.
Optional Dependencies
*********************