Skip to content

Fix string replace in environment in *Config.cmake for projects with the same prefix

Michal Mazurek requested to merge mimazure-fix-string-replace into master

@clemenci FYI @gcorti

In particular, when replacing PROJECT_SOURCE_DIR of Gaussino, GaussinoExtLibs is affected as well resulting in variables set in GaussinoExtLibs not being recognized in downstream projects. This should fix the problems with Geant4 variables:

To be ported to lhcb/LHCbConfigUtils.cmake

Edited by Michal Mazurek

Merge request reports