1
Fork 0

Use cmake() and pkgconfig() searching for RPM

This commit is contained in:
Joshua Goins 2023-01-21 15:11:27 -05:00
parent 2bd32595bd
commit 9b1aa6241f

View file

@ -34,10 +34,10 @@ impl Package {
pub fn getFilename(&self) -> String {
match self.package_type {
PackageType::PkgConfigModule => {
format!("*/{}.pc", self.name.to_lowercase())
format!("pkgconfig({})", self.name.to_lowercase())
}
PackageType::CMakeModule => {
format!("*/{}Config.cmake", self.name)
format!("cmake({})", self.name)
}
}
}