--- a/lib/library.cpp
+++ b/lib/library.cpp
@@ -218,7 +218,7 @@
     #endif
             if (exename) {
                 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(std::move(exepath));
             }
 
