[projects/cleanbuild] cmake hacks

glen glen at pld-linux.org
Fri Apr 15 23:02:00 CEST 2016


commit f08ffe3971fe1ec7f1adb17a92f7674d1ee1b214
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Apr 16 00:01:57 2016 +0300

    cmake hacks

 findbr | 3 +++
 1 file changed, 3 insertions(+)
---
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",
 		)
 	}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/f08ffe3971fe1ec7f1adb17a92f7674d1ee1b214



More information about the pld-cvs-commit mailing list