Skip to content

Commit 196c4ff

Browse files
committed
[TCling] Invoke InterOp interpreter API in metacling
1 parent df7264a commit 196c4ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: core/metacling/src/CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ target_include_directories(MetaCling SYSTEM PRIVATE
4444
${CLANG_INCLUDE_DIRS}
4545
${LLVM_INCLUDE_DIRS}
4646
${CLAD_INCLUDE_DIRS}
47+
${CPPINTEROP_INCLUDE_DIRS}
4748
)
4849

4950
target_include_directories(MetaCling PRIVATE
@@ -74,7 +75,7 @@ if(MSVC)
7475
set_source_files_properties(TCling.cxx COMPILE_FLAGS /bigobj)
7576
endif()
7677

77-
add_dependencies(MetaCling CLING)
78+
add_dependencies(MetaCling CLING clangCppInterOp)
7879

7980
##### libCling #############################################################
8081

@@ -113,6 +114,7 @@ ROOT_LINKER_LIBRARY(Cling
113114
$<TARGET_OBJECTS:ClingUtils>
114115
$<TARGET_OBJECTS:Dictgen>
115116
$<TARGET_OBJECTS:MetaCling>
117+
$<TARGET_OBJECTS:clangCppInterOp>
116118
LIBRARIES ${CLING_LIBRARIES} ${LINK_LIBS} ${CLING_PLUGIN_LINK_LIBS})
117119

118120
# When these two link at the same time, they can exhaust the RAM on many machines, since they both link against llvm.

0 commit comments

Comments
 (0)