File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 4
4
#
5
5
# Find Lua and SWIG as a whole.
6
6
7
- if (LUA_LIBRARIES AND LUA_INCLUDE_DIR AND SWIG_EXECUTABLE )
7
+ if (LUA_LIBRARIES AND LUA_INCLUDE_DIR AND LLDB_ENABLE_SWIG )
8
8
set (LUAANDSWIG_FOUND TRUE )
9
9
else ()
10
10
if (LLDB_ENABLE_SWIG OR LLDB_USE_STATIC_BINDINGS )
11
11
find_package (Lua 5.3 EXACT )
12
- if (LUA_FOUND AND SWIG_FOUND )
12
+ if (LUA_FOUND )
13
13
mark_as_advanced (
14
14
LUA_LIBRARIES
15
- LUA_INCLUDE_DIR
16
- SWIG_EXECUTABLE )
15
+ LUA_INCLUDE_DIR )
17
16
endif ()
18
17
else ()
19
18
message (STATUS "SWIG 3 or later is required for Lua support in LLDB but could not be found" )
Original file line number Diff line number Diff line change @@ -30,12 +30,11 @@ macro(FindPython3)
30
30
Python3_LIBRARIES
31
31
Python3_INCLUDE_DIRS
32
32
Python3_EXECUTABLE
33
- Python3_RPATH
34
- SWIG_EXECUTABLE )
33
+ Python3_RPATH )
35
34
endif ()
36
35
endmacro ()
37
36
38
- if (Python3_LIBRARIES AND Python3_INCLUDE_DIRS AND Python3_EXECUTABLE AND SWIG_EXECUTABLE )
37
+ if (Python3_LIBRARIES AND Python3_INCLUDE_DIRS AND Python3_EXECUTABLE AND LLDB_ENABLE_SWIG )
39
38
set (PYTHONANDSWIG_FOUND TRUE )
40
39
else ()
41
40
if (LLDB_ENABLE_SWIG OR LLDB_USE_STATIC_BINDINGS )
You can’t perform that action at this time.
0 commit comments