aboutsummaryrefslogtreecommitdiff
path: root/include/PkgConfig.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/PkgConfig.hpp')
-rw-r--r--include/PkgConfig.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/PkgConfig.hpp b/include/PkgConfig.hpp
index 9181a2f..24aeb78 100644
--- a/include/PkgConfig.hpp
+++ b/include/PkgConfig.hpp
@@ -6,6 +6,7 @@
#include <string>
#include <vector>
#include "FileUtil.hpp"
+#include "Version.hpp"
namespace sibs
{
@@ -24,6 +25,7 @@ namespace sibs
static Result<bool> validatePkgConfigPackageVersionExists(PackageListDependency *dependency);
static Result<bool> validatePackageExists(const std::string &name);
static Result<bool> validatePackageVersionAtLeast(const std::string &name, const std::string &version);
+ static Result<PackageVersion> getPackageVersion(const std::string &name);
static Result<std::string> getDynamicLibsLinkerFlags(const std::vector<PackageListDependency*> &libs);
static Result<std::string> getDynamicLibsCflags(const std::vector<PackageListDependency*> &libs);
static Result<PkgConfigFlags> getDynamicLibsFlags(const std::vector<PackageListDependency*> &libs);