Use cmake() and pkgconfig() searching for RPM
This commit is contained in:
parent
2bd32595bd
commit
9b1aa6241f
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue