Subject: | Cmake not installed |
Install fails with this message (Windows XP, Perl 5.16):
You must have cmake installed to compile Alien::SmokeQt. at Makefile.PL
line 42.
Reason is that the path separator ':' is different on windows ';'
# Make sure we have a cmake executable
my $cmake;
foreach my $path ( split m/:/, $ENV{PATH} ) {
if ( -e "$path/cmake" ) {
$cmake = "$path/cmake";
last;
}
}
the OS should be checked first