Skip to content
Snippets Groups Projects
Commit 5298b418 authored by Vassil Vassilev's avatar Vassil Vassilev
Browse files

Add the cwg to the prebuilt module cache path.

Some modules (produced by rootcling) are located in the cwg and they
should be resolved from there without being rebuilt.
parent 73e0e0a8
No related branches found
No related tags found
No related merge requests found
......@@ -1086,6 +1086,7 @@ static void stringifyPreprocSetting(PreprocessorOptions& PPOpts,
auto& HS = CI->getHeaderSearchOpts();
addPrebuiltModulePaths(HS, getPathsFromEnv(getenv("LD_LIBRARY_PATH")));
addPrebuiltModulePaths(HS, getPathsFromEnv(getenv("DYLD_LIBRARY_PATH")));
HS.AddPrebuiltModulePath(".");
}
// Set up compiler language and target
......
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