Skip to content
Snippets Groups Projects
Commit a69730eb authored by Attila Krasznahorkay's avatar Attila Krasznahorkay
Browse files

Make AthAnalysis and AthGeneration clients find Boost correctly.

parent 218f7334
No related branches found
No related tags found
10 merge requests!78241Draft: FPGATrackSim: GenScan code refactor,!78236Draft: Switching Streams https://its.cern.ch/jira/browse/ATR-27417,!78056AFP monitoring: new synchronization and cleaning,!78041AFP monitoring: new synchronization and cleaning,!77990Updating TRT chip masks for L1TRT trigger simulation - ATR-28372,!77731Draft: Updates to ZDC reconstruction,!77728Draft: updates to ZDC reconstruction,!77522Draft: sTGC Pad Trigger Emulator,!77199Correct LCG Setup for Downstream Projects, main branch (2025.01.15.),!76343Draft: MooTrackBuilder: Recalibrate NSW hits in refine method
......@@ -40,6 +40,12 @@ if( @CMAKE_PROJECT_NAME@_FIND_QUIETLY )
set( _quietFlag QUIET )
endif()
# Set up the correct version of LCG. While AthAnalysisExternals does this as
# well, we need to do it explicitly here, to make the following find_package
# calls find the packages correctly.
set( LCG_VERSION_POSTFIX @LCG_VERSION_POSTFIX@ )
find_package( LCG @LCG_VERSION_NUMBER@ REQUIRED EXACT ${_quietFlag} )
# Imported target(s) used by the project.
find_package( GTest ${_quietFlag} )
find_package( Boost ${_quietFlag} COMPONENTS ALL )
......
......@@ -29,6 +29,12 @@ if( @CMAKE_PROJECT_NAME@_FIND_QUIETLY )
set( _quietFlag QUIET )
endif()
# Set up the correct version of LCG. While AthGenerationExternals does this as
# well, we need to do it explicitly here, to make the following find_package
# calls find the packages correctly.
set( LCG_VERSION_POSTFIX @LCG_VERSION_POSTFIX@ )
find_package( LCG @LCG_VERSION_NUMBER@ REQUIRED EXACT ${_quietFlag} )
# Imported target(s) used by the project.
find_package( GTest ${_quietFlag} )
find_package( Boost ${_quietFlag} COMPONENTS ALL )
......
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