Index: lldb/cmake/modules/FindLuaAndSwig.cmake =================================================================== --- lldb/cmake/modules/FindLuaAndSwig.cmake +++ 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) Index: lldb/cmake/modules/FindPythonAndSwig.cmake =================================================================== --- lldb/cmake/modules/FindPythonAndSwig.cmake +++ lldb/cmake/modules/FindPythonAndSwig.cmake @@ -38,7 +38,7 @@ 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() Index: lldb/docs/resources/build.rst =================================================================== --- lldb/docs/resources/build.rst +++ lldb/docs/resources/build.rst @@ -34,7 +34,7 @@ scripting support. * `Python `_ -* `SWIG `_ 2 or later. +* `SWIG `_ 3 or later. Optional Dependencies *********************