diff --git a/opencog/util/files.cc b/opencog/util/files.cc index 0ce89ef467..7e8aa69f00 100644 --- a/opencog/util/files.cc +++ b/opencog/util/files.cc @@ -66,6 +66,10 @@ static const std::vector paths = "../../../", "../../../../", // some unit tests need this #endif // !WIN32 + // This is useful for loading the cogserver from repository root + // or scripts directories + "build/", + "../build/", CMAKE_INSTALL_PREFIX "/lib", CMAKE_INSTALL_PREFIX "/share", DATADIR, // this too is an install dir