Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure libGaudiCoreSvc.so is found by genconf #97

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ find_package(ROOT COMPONENTS RIO Tree)
#---------------------------------------------------------------
# Load macros and functions for Gaudi-based projects
find_package(Gaudi)
get_filename_component(Gaudi_CMakeDir ${GAUDI_TOOLBOX_DIR} DIRECTORY)
get_filename_component(GAUDI_LIB_DIR ${Gaudi_CMakeDir} DIRECTORY)
#---------------------------------------------------------------

include(GNUInstallDirs)
Expand Down
1 change: 1 addition & 0 deletions k4FWCore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ find_package(podio)

gaudi_install(SCRIPTS)

file(COPY ${GAUDI_LIB_DIR}/libGaudiCoreSvc.so DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)

gaudi_add_library(k4FWCore
SOURCES src/PodioDataSvc.cpp
Expand Down
3 changes: 1 addition & 2 deletions test/k4FWCoreTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

find_package(EDM4HEP)



file(COPY ${GAUDI_LIB_DIR}/libGaudiCoreSvc.so DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)

file(GLOB k4fwcoretest_plugin_sources src/components/*.cpp)
gaudi_add_module(k4FWCoreTestPlugins
Expand Down