Skip to content

Find LCIO and substitute Marlin_LIBRARIES for the corresponding libs#23

Open
jmcarcell wants to merge 1 commit intoiLCSoft:masterfrom
jmcarcell:marlin-libraries
Open

Find LCIO and substitute Marlin_LIBRARIES for the corresponding libs#23
jmcarcell wants to merge 1 commit intoiLCSoft:masterfrom
jmcarcell:marlin-libraries

Conversation

@jmcarcell
Copy link
Copy Markdown
Contributor

@jmcarcell jmcarcell commented Aug 22, 2024

BEGINRELEASENOTES

  • Find LCIO and substitute Marlin_LIBRARIES for the corresponding libs

ENDRELEASENOTES

Uncovered by iLCSoft/Marlin#56, in this case we also find a missing dependency on LCIO.

Comment thread CMakeLists.txt
FIND_PACKAGE( LCIO REQUIRED )
INCLUDE_DIRECTORIES( SYSTEM ${Marlin_INCLUDE_DIRS} )
LINK_LIBRARIES( ${Marlin_LIBRARIES} )
LINK_LIBRARIES( LCIO::lcio Marlin streamlog )
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
LINK_LIBRARIES( LCIO::lcio Marlin streamlog )
LINK_LIBRARIES( LCIO::lcio ${Marlin_LIBRARIES} )

Marlin does not yet have targets, I think, so we have to go the old school way here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants