Skip to content
Snippets Groups Projects
Commit 1c7efa57 authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

WIP: force link the dict.

parent 6d118592
No related branches found
No related tags found
No related merge requests found
...@@ -15,5 +15,5 @@ endif() ...@@ -15,5 +15,5 @@ endif()
gaudi_project(CEPCSW v0r1 gaudi_project(CEPCSW v0r1
USE Gaudi v33r1 USE Gaudi v33r1
K4FWCore v0r1 USE K4FWCore v0r1
) )
\ No newline at end of file
...@@ -22,8 +22,9 @@ gaudi_install_headers(Examples) ...@@ -22,8 +22,9 @@ gaudi_install_headers(Examples)
# Modules # Modules
gaudi_add_module(Examples ${Examples_srcs} gaudi_add_module(Examples ${Examples_srcs}
INCLUDE_DIRS K4FWCore GaudiAlgLib GaudiKernel ${plcio_INCLUDE_DIRS} ${podio_INCLUDE_DIRS} ${LCIO_INCLUDE_DIRS} INCLUDE_DIRS K4FWCore GaudiAlgLib GaudiKernel ${plcio_INCLUDE_DIRS} ${podio_INCLUDE_DIRS} ${LCIO_INCLUDE_DIRS}
LINK_LIBRARIES K4FWCore GaudiAlgLib GaudiKernel ${podio_LIBRARIES} ${LCIO_LIBRARIES} $ENV{PLCIO}/lib/libplcio.so LINK_LIBRARIES K4FWCore GaudiAlgLib GaudiKernel ${LCIO_LIBRARIES} $ENV{PLCIO}/lib/libplcio.so
EDM4HEP::edm4hep EDM4HEP::edm4hepDict # Force loading the libraries.
-Wl,--no-as-needed EDM4HEP::edm4hep EDM4HEP::edm4hepDict ${podio_LIBRARIES} podio::podioRootIO -Wl,--as-needed
) )
# Unit tests # Unit tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment