Skip to content
Snippets Groups Projects
Forked from VecGeom / VecGeom
Source project has a limited visibility.
  • Benjamin Morgan's avatar
    39f884b5
    Force paths to refind builtin VecCore · 39f884b5
    Benjamin Morgan authored and Gabriele Cosmo's avatar Gabriele Cosmo committed
    Reported by @gcosmo when using VecGeom in a Geant4 build - when finding
    VecGeom via VecGeom_DIR, builtin VecCore is not found.
    
    As we know when we use and where a builtin VecCore will be installed,
    export this knowledge to VecGeomConfig.cmake. Force find of VecCore
    via find_package's override mechanism so that only the installed builtin
    path should be considered.
    
    Note that this only covers this one use case and no further downstream
    "builtin" dependencies. Have to rely on clients setting <package>_DIR
    or CMAKE_PREFIX_PATH accordingly either directly or via environment.
    39f884b5
    History
    Force paths to refind builtin VecCore
    Benjamin Morgan authored and Gabriele Cosmo's avatar Gabriele Cosmo committed
    Reported by @gcosmo when using VecGeom in a Geant4 build - when finding
    VecGeom via VecGeom_DIR, builtin VecCore is not found.
    
    As we know when we use and where a builtin VecCore will be installed,
    export this knowledge to VecGeomConfig.cmake. Force find of VecCore
    via find_package's override mechanism so that only the installed builtin
    path should be considered.
    
    Note that this only covers this one use case and no further downstream
    "builtin" dependencies. Have to rely on clients setting <package>_DIR
    or CMAKE_PREFIX_PATH accordingly either directly or via environment.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.