From 196c4ffa86b3cf36dbff3d18e3c997dbcffeaf5e Mon Sep 17 00:00:00 2001 From: Aaron Jomy Date: Tue, 3 Dec 2024 15:02:47 +0100 Subject: [PATCH] [TCling] Invoke InterOp interpreter API in metacling --- core/metacling/src/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/metacling/src/CMakeLists.txt b/core/metacling/src/CMakeLists.txt index e608e3a461e16..1104d8346c509 100644 --- a/core/metacling/src/CMakeLists.txt +++ b/core/metacling/src/CMakeLists.txt @@ -44,6 +44,7 @@ target_include_directories(MetaCling SYSTEM PRIVATE ${CLANG_INCLUDE_DIRS} ${LLVM_INCLUDE_DIRS} ${CLAD_INCLUDE_DIRS} + ${CPPINTEROP_INCLUDE_DIRS} ) target_include_directories(MetaCling PRIVATE @@ -74,7 +75,7 @@ if(MSVC) set_source_files_properties(TCling.cxx COMPILE_FLAGS /bigobj) endif() -add_dependencies(MetaCling CLING) +add_dependencies(MetaCling CLING clangCppInterOp) ##### libCling ############################################################# @@ -113,6 +114,7 @@ ROOT_LINKER_LIBRARY(Cling $ $ $ + $ LIBRARIES ${CLING_LIBRARIES} ${LINK_LIBS} ${CLING_PLUGIN_LINK_LIBS}) # When these two link at the same time, they can exhaust the RAM on many machines, since they both link against llvm.