We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45bc525 commit 03a3e9aCopy full SHA for 03a3e9a
lldb/cmake/modules/FindPythonAndSwig.cmake
@@ -39,7 +39,10 @@ if(Python3_LIBRARIES AND Python3_INCLUDE_DIRS AND Python3_EXECUTABLE AND SWIG_EX
39
set(PYTHONANDSWIG_FOUND TRUE)
40
else()
41
find_package(SWIG 2.0)
42
- if (SWIG_FOUND)
+ if (SWIG_FOUND OR LLDB_USE_STATIC_BINDINGS)
43
+ if (LLDB_USE_STATIC_BINDINGS)
44
+ set(SWIG_EXECUTABLE "/not/found")
45
+ endif()
46
FindPython3()
47
48
message(STATUS "SWIG 2 or later is required for Python support in LLDB but could not be found")
0 commit comments