diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-08-17 08:47:52 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-08-17 08:47:52 -0700 |
commit | 75966ee241a2f1b7712caa1bbe66560347b23359 (patch) | |
tree | 0f679f3b7bac3033b866a04d40742a84559db8f0 /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | 32ebdc70f3af478f4f6a9c75b4bc47a453b1b933 (diff) | |
download | llvm-75966ee241a2f1b7712caa1bbe66560347b23359.zip llvm-75966ee241a2f1b7712caa1bbe66560347b23359.tar.gz llvm-75966ee241a2f1b7712caa1bbe66560347b23359.tar.bz2 |
[lldb] Get rid of helper CMake variables for Python
This patch is a big sed to rename the following variables:
s/PYTHON_LIBRARIES/Python3_LIBRARIES/g
s/PYTHON_INCLUDE_DIRS/Python3_INCLUDE_DIRS/g
s/PYTHON_EXECUTABLE/Python3_EXECUTABLE/g
s/PYTHON_RPATH/Python3_RPATH/g
I've also renamed the CMake module to better express its purpose and for
consistency with FindLuaAndSwig.
Differential revision: https://reviews.llvm.org/D85976
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt b/lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt index 761772f..2cbf8bc 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt +++ b/lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt @@ -19,7 +19,7 @@ add_lldb_library(lldbPluginScriptInterpreterPython PLUGIN lldbHost lldbInterpreter lldbTarget - ${PYTHON_LIBRARIES} + ${Python3_LIBRARIES} ${LLDB_LIBEDIT_LIBS} LINK_COMPONENTS |