Skip to content

Commit

Permalink
Make clang differentiable
Browse files Browse the repository at this point in the history
  • Loading branch information
vgvassilev committed May 21, 2024
1 parent 7fce50e commit f2273e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/metacling/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ if (clad)
else()
set(CLING_PLUGIN_LINK_LIBS -Wl,--whole-archive cladPlugin cladDifferentiator -Wl,--no-whole-archive)
endif()
# Link our clad libraries to clang. If users use the clang from ROOT they will
# also be able to use clad out of the box.
add_dependencies(clang clad)
target_link_libraries(clang PUBLIC ${CLING_PLUGIN_LINK_LIBS})
endif()

ROOT_LINKER_LIBRARY(Cling
Expand Down

0 comments on commit f2273e0

Please sign in to comment.