Skip to content

Commit

Permalink
Don't check for DDRec, it is required
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Jan 24, 2025
1 parent 450529c commit 574d3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ if(NOT K4GEO_USE_LCIO)
message(STATUS "Use of LCIO is DISABLED, some detectors that depend on LCIO will not be built: ${lcio_sources}")
endif()

if(${DD4hep_VERSION} VERSION_LESS 1.29 OR NOT TARGET DD4hep::DDRec)
if(${DD4hep_VERSION} VERSION_LESS 1.29)
set(FILES_DEPENDINGON_DCH_INFO_H "DriftChamber_o1_v02.cpp" )
list(FILTER sources EXCLUDE REGEX "${FILES_DEPENDINGON_DCH_INFO_H}")
message(WARNING [[Subdetector ${FILES_DEPENDINGON_DCH_INFO_H} will not be built
Expand Down

0 comments on commit 574d3f7

Please sign in to comment.