diff options
| author | Pavel Labath <pavel@labath.sk> | 2025-06-04 11:33:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-04 11:33:37 +0200 |
| commit | 2c4f67794bff4df984b43db453fc0f5241ee72c8 (patch) | |
| tree | 6090d02efb0027d33da359fca78974534741a182 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces | |
| parent | 159de3633640a5cb2d322ebe8cc4ec0c1c9a896d (diff) | |
| download | llvm-2c4f67794bff4df984b43db453fc0f5241ee72c8.tar.gz llvm-2c4f67794bff4df984b43db453fc0f5241ee72c8.tar.bz2 llvm-2c4f67794bff4df984b43db453fc0f5241ee72c8.zip | |
[lldb/cmake] Implicitly pass arguments to llvm_add_library (#142583)
If we're not touching them, we don't need to do anything special to pass
them along -- with one important caveat: due to how cmake arguments
work, the implicitly passed arguments need to be specified before
arguments that we handle.
This isn't particularly nice, but the alternative is enumerating all
arguments that can be used by llvm_add_library and the macros it calls
(it also relies on implicit passing of some arguments to
llvm_process_sources).
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces')
| -rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt b/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt index ee5e48ad5cdc..db9e11b73895 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt +++ b/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt @@ -29,6 +29,8 @@ add_lldb_library(lldbPluginScriptInterpreterPythonInterfaces PLUGIN ScriptedThreadPlanPythonInterface.cpp ScriptedThreadPythonInterface.cpp + LINK_COMPONENTS + Support LINK_LIBS lldbCore lldbHost @@ -36,9 +38,6 @@ add_lldb_library(lldbPluginScriptInterpreterPythonInterfaces PLUGIN lldbTarget ${Python3_LIBRARIES} ${LLDB_LIBEDIT_LIBS} - - LINK_COMPONENTS - Support ) |
