From 2ecc31c0aa99405bbfbb279249ae76365565f47d Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 6 Jul 2013 11:37:24 +0200 Subject: [PATCH] Only work on GUI modules when --gui is supplied to Build.PL --- Build.PL | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Build.PL b/Build.PL index 45716932c..604147006 100644 --- a/Build.PL +++ b/Build.PL @@ -29,18 +29,15 @@ my %recommends = qw( XML::SAX::ExpatXS 0 ); if ($ARGV[0] eq '--gui') { - %prereqs = (%prereqs, qw( + %prereqs = qw( Wx 0.9901 - )); - %recommends = (%recommends, qw( + ); + %recommends = qw( Wx::GLCanvas 0 OpenGL 0 - )); + ); } -# removed: -# Wx 0.9901 - my $missing_prereqs = 0; if ($ENV{SLIC3R_NO_AUTO}) { foreach my $module (sort keys %prereqs) {