--- a/lib/library.cpp +++ b/lib/library.cpp @@ -217,7 +217,7 @@ #endif if (exename) { const std::string exepath(Path::fromNativeSeparators(Path::getPathFromFilename(Path::getCurrentExecutablePath(exename)))); - cfgfolders.push_back(exepath + "cfg"); + cfgfolders.push_back(exepath + "../share/cppcheck/cfg"); cfgfolders.push_back(exepath); }