summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2016-04-15 21:01:57 (GMT)
committerElan Ruusamäe2016-04-15 21:01:57 (GMT)
commitf08ffe3971fe1ec7f1adb17a92f7674d1ee1b214 (patch)
tree70091e376d259f618f0cb1a173d391f878cc5283
parent98efb01931c553256156f6543a5c5f6b6152dc53 (diff)
downloadcleanbuild-f08ffe3971fe1ec7f1adb17a92f7674d1ee1b214.zip
cleanbuild-f08ffe3971fe1ec7f1adb17a92f7674d1ee1b214.tar.gz
cmake hacks
-rwxr-xr-xfindbr3
1 files changed, 3 insertions, 0 deletions
diff --git a/findbr b/findbr
index a4aaa12..9e4f7dd 100755
--- a/findbr
+++ b/findbr
@@ -597,12 +597,15 @@ while ( $_ = shift @lines ) {
or m{Could not find a package configuration file provided by "(.+)"
}) {
my $cmake = $1;
+ my $lcmake = lc $cmake;
warn "Looking for cmake file: $cmake\n";
poldek_file(
"/usr/*/cmake/*/$cmake.cmake",
"/usr/*/cmake/*/${cmake}Config.cmake",
"/usr/*/cmake/*/${cmake}-config.cmake",
+ "/usr/*/cmake/*/${lcmake}Config.cmake",
+ "/usr/*/cmake/*/${lcmake}-config.cmake",
)
}