Skip to content

Commit

Permalink
no need for static links
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Dec 13, 2022
1 parent 0a08011 commit a72ef79
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
4 changes: 0 additions & 4 deletions src/detectors/DRICH/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,3 @@ plugin_glob_all(${PLUGIN_NAME})
plugin_add_irt(${PLUGIN_NAME})
plugin_add_event_model(${PLUGIN_NAME})
plugin_add_dd4hep(${PLUGIN_NAME})

# Add libraries
# (same as target_include_directories but for both plugin and library)
plugin_link_libraries(${PLUGIN_NAME} pid_library)
5 changes: 3 additions & 2 deletions src/global/pid/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy prin

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME} WITH_STATIC_LIBRARY)
plugin_add(${PLUGIN_NAME})

# The macro grabs sources as *.cc *.cpp *.c and headers as *.h *.hh *.hpp
# Then correctly sets sources for ${_name}_plugin and ${_name}_library targets
Expand All @@ -20,6 +20,7 @@ plugin_add_acts(${PLUGIN_NAME})
plugin_add_irt(${PLUGIN_NAME})
plugin_add_cern_root(${PLUGIN_NAME})
plugin_add_event_model(${PLUGIN_NAME})

# Add libraries
# (same as target_include_directories but for both plugin and library)
plugin_link_libraries(${PLUGIN_NAME} algorithms_tracking_library richgeo_library)
plugin_link_libraries(${PLUGIN_NAME} algorithms_tracking_library)
3 changes: 0 additions & 3 deletions src/services/geometry/rich/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,3 @@ plugin_glob_all(${PLUGIN_NAME})
plugin_add_dd4hep(${PLUGIN_NAME})
plugin_add_irt(${PLUGIN_NAME})
plugin_add_acts(${PLUGIN_NAME})

# link binding libraries
plugin_link_libraries(${PLUGIN_NAME} richgeo_library)
2 changes: 1 addition & 1 deletion src/services/geometry/rich/richgeo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ print_header(">>>> P L U G I N : ${PLUGIN_NAME} <<<<") # Fancy prin

# Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
# Setting default includes, libraries and installation paths
plugin_add(${PLUGIN_NAME} WITH_STATIC_LIBRARY)
plugin_add(${PLUGIN_NAME})

# The macro grabs sources as *.cc *.cpp *.c and headers as *.h *.hh *.hpp
# Then correctly sets sources for ${_name}_plugin and ${_name}_library targets
Expand Down
1 change: 1 addition & 0 deletions src/utilities/eicrecon/eicrecon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ std::vector<std::string> EICRECON_DEFAULT_PLUGINS = {
"log",
"dd4hep",
"acts",
"richgeo",
"rich",
"rootfile",
"algorithms_calorimetry",
Expand Down

0 comments on commit a72ef79

Please sign in to comment.