summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2013-12-26 19:44:41 +0100
committerDukePyrolator <DukePyrolator@anope.org>2013-12-26 19:44:41 +0100
commit69c5aeca5771d28e0394c32907663f8a517f900d (patch)
tree6cdf4bd586b35f6c099d3f6d05f4c5030d1564f3 /extras
parent59c3c1326b990f0a64e48148b24db5ce6eed2fb0 (diff)
updated the extras script to find the cmake binary installed by ./Config
Diffstat (limited to 'extras')
-rwxr-xr-xextras7
1 files changed, 6 insertions, 1 deletions
diff --git a/extras b/extras
index 74bd85fe4..3b095e045 100755
--- a/extras
+++ b/extras
@@ -148,7 +148,12 @@ while (1)
if ($input eq "q") {
if (-e "build") {
- system("cmake", "build/.");
+ if (-e "cmake-bin") {
+ my $cmake_path = `find cmake-bin -name cmake -print0`;
+ system($cmake_path, "build/.");
+ } else {
+ system("cmake", "build/.");
+ }
print "\nNow cd build, then run make to build Anope.\n\n";
} else {
print "\nBuild directory not found. You should run ./Config now.\n\n"