Skip to content

Commit

Permalink
Make sure to pick up the correct LCIO and DD4hep
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Jun 13, 2023
1 parent e757ec1 commit 7ebbe1b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ INCLUDE_DIRECTORIES( SYSTEM ${Marlin_INCLUDE_DIRS} )
LINK_LIBRARIES( ${Marlin_LIBRARIES} )
ADD_DEFINITIONS( ${Marlin_DEFINITIONS} )

INCLUDE_DIRECTORIES( BEFORE SYSTEM ${LCIO_INCLUDE_DIRS} )

FIND_PACKAGE( MarlinTrk REQUIRED )
INCLUDE_DIRECTORIES( SYSTEM ${MarlinTrk_INCLUDE_DIRS} )
LINK_LIBRARIES( ${MarlinTrk_LIBRARIES} )
Expand All @@ -55,7 +57,7 @@ if(DD4HEP_USE_XERCESC)
find_package(XercesC)
endif()
include(DD4hep_XML_setup)
INCLUDE_DIRECTORIES( SYSTEM ${DD4hep_INCLUDE_DIRS} )
INCLUDE_DIRECTORIES( BEFORE SYSTEM ${DD4hep_INCLUDE_DIRS} )
LINK_LIBRARIES( ${DD4hep_LIBRARIES} ${DD4hep_COMPONENT_LIBRARIES} )

OPTION( MARLINRECO_AIDA "Set to ON to build MarlinReco with AIDA" ON )
Expand Down

0 comments on commit 7ebbe1b

Please sign in to comment.