Skip to content

Commit

Permalink
[core] Fix ASan build with LLVM 18
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnjo authored and devajithvs committed Sep 10, 2024
1 parent b9005fd commit bc96e54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/sanitizer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ set_property(GLOBAL APPEND PROPERTY ROOT_EXPORTED_TARGETS ${library})
add_library(ROOT::${library} ALIAS ${library})

# Now sanitize executables that are not created with ROOT_EXECUTABLE():
set_property(TARGET llvm-tblgen clang-tblgen
APPEND PROPERTY LINK_LIBRARIES ${library})
add_dependencies(llvm-tblgen ROOTStaticSanitizerConfig)
foreach(target llvm-min-tblgen llvm-tblgen clang-tblgen)
target_link_libraries(${target} PRIVATE ${library})
endforeach()

0 comments on commit bc96e54

Please sign in to comment.