Alien-SmokeQt

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

my @args;
push @args, '.';
push @args, '-DCMAKE_BUILD_TYPE=Release';
push @args, "-DCMAKE_INSTALL_PREFIX=$prefix" if $prefix;
push @args, "-DQT_QMAKE_EXECUTABLE=$qmake" if $qmake;
push @args, "-DWITH_QT3_SUPPORT=ON";
push @args, @cmakeArgs;

# Make sure we have a cmake executable
my $cmake;
foreach my $path ( split m/:/, $ENV{PATH} ) {
    if ( -e "$path/cmake" ) {
        $cmake = "$path/cmake";
        last;
    }
}
if ( !$cmake ) {
    die 'You must have cmake installed to compile Alien::SmokeQt.';
}

exit system('cmake', @args);



( run in 0.324 second using v1.01-cache-2.11-cpan-9bca49b1385 )