Skip to content

Commit

Permalink
Only work on GUI modules when --gui is supplied to Build.PL
Browse files Browse the repository at this point in the history
  • Loading branch information
alranel committed Jul 6, 2013
1 parent f455ecb commit 2ecc31c
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Build.PL
Expand Up @@ -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) {
Expand Down

0 comments on commit 2ecc31c

Please sign in to comment.