mirror of
https://github.com/anope/anope.git
synced 2026-06-12 17:24:49 +02:00
updated the extras script to find the cmake binary installed by ./Config
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user