From 69c5aeca5771d28e0394c32907663f8a517f900d Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Thu, 26 Dec 2013 19:44:41 +0100 Subject: updated the extras script to find the cmake binary installed by ./Config --- extras | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'extras') 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" -- cgit