aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2025-06-10 11:58:39 +0200
committerGitHub <noreply@github.com>2025-06-10 11:58:39 +0200
commit7e471c1fd0c4de4656cfaac39e247d207e987510 (patch)
tree3ccd242b8da9948cfadcd68543bdee48565eecd0 /lldb/source/Interpreter
parent95b5b6801ce4c08e1bc92616321cd4127e7c0957 (diff)
downloadllvm-7e471c1fd0c4de4656cfaac39e247d207e987510.zip
llvm-7e471c1fd0c4de4656cfaac39e247d207e987510.tar.gz
llvm-7e471c1fd0c4de4656cfaac39e247d207e987510.tar.bz2
[lldb/cmake] Use ADDITIONAL_HEADER(_DIR)?S (#142587)
Replace (questionable) header globs with an explicit argument supported by llvm_add_library.
Diffstat (limited to 'lldb/source/Interpreter')
-rw-r--r--lldb/source/Interpreter/CMakeLists.txt2
-rw-r--r--lldb/source/Interpreter/Interfaces/CMakeLists.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/CMakeLists.txt b/lldb/source/Interpreter/CMakeLists.txt
index 99e8ec7..8af7373 100644
--- a/lldb/source/Interpreter/CMakeLists.txt
+++ b/lldb/source/Interpreter/CMakeLists.txt
@@ -55,6 +55,8 @@ add_lldb_library(lldbInterpreter NO_PLUGIN_DEPENDENCIES
Property.cpp
ScriptInterpreter.cpp
+ ADDITIONAL_HEADER_DIRS
+ ${LLDB_INCLUDE_DIR}/lldb/Interpreter
LINK_COMPONENTS
Support
LINK_LIBS
diff --git a/lldb/source/Interpreter/Interfaces/CMakeLists.txt b/lldb/source/Interpreter/Interfaces/CMakeLists.txt
index 8b04398..14fcc71 100644
--- a/lldb/source/Interpreter/Interfaces/CMakeLists.txt
+++ b/lldb/source/Interpreter/Interfaces/CMakeLists.txt
@@ -1,6 +1,8 @@
add_lldb_library(lldbInterpreterInterfaces NO_PLUGIN_DEPENDENCIES
ScriptedInterfaceUsages.cpp
+ ADDITIONAL_HEADER_DIRS
+ ${LLDB_INCLUDE_DIR}/lldb/Interpreter/Interfaces
LINK_COMPONENTS
Support
LINK_LIBS