Skip to content
Snippets Groups Projects

Added extra code to deal with root 6.20/6.22 incompatibility

Merged Sylvester Joosten requested to merge fix-root-6.22 into master
1 file
+ 10
2
Compare changes
  • Side-by-side
  • Inline
@@ -49,8 +49,16 @@ install(TARGETS DDG4_PIDsdet
DESTINATION lib)
install(FILES ${sdet_headers}
DESTINATION include/npdet)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/G__DDG4_PIDsdet_rdict.pcm
DESTINATION lib)
if (${ROOT_VERSION} VERSION_LESS 6.22.0)
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/G__DDG4_PIDsdet_rdict.pcm
DESTINATION lib)
else()
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/libDDG4_PIDsdet_rdict.pcm
DESTINATION lib)
endif()
# # Geant4 material scan. From position=0,0,0 to end-of-world
# dd4hep_add_test_reg( DDG4_PIDsdet_g4material_scan_SiliconBlock_LONGTEST
Loading