Skip to content

Commit 65ca478

Browse files
fix: Link digi library for BEMC plugin (#2171)
### Briefly, what does this PR introduce? Now that BEMC uses digitization (PulseGeneration), we need to link. ### What kind of change does this PR introduce? - [x] Bug fix (issue: BEMC undefined symbol _ZN8eicrecon15PulseGenerationIN7edm4hep17SimCalorimeterHitEE4initEv) - [ ] New feature (issue #__) - [ ] Documentation update - [ ] Other: __ ### Please check if this PR fulfills the following: - [ ] Tests for the changes have been added - [ ] Documentation has been added / updated - [ ] Changes have been communicated to collaborators ### Does this PR introduce breaking changes? What changes might users need to make to their code? No. ### Does this PR change default behavior? No. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 776ab78 commit 65ca478

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/detectors/BEMC/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ plugin_add_event_model(${PLUGIN_NAME})
1717
plugin_add_eigen3(${PLUGIN_NAME})
1818

1919
# Add libraries (works same as target_include_directories)
20-
plugin_link_libraries(${PLUGIN_NAME} algorithms_calorimetry_library)
20+
plugin_link_libraries(${PLUGIN_NAME} algorithms_calorimetry_library
21+
algorithms_digi_library)

0 commit comments

Comments
 (0)