diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2013-07-06 13:37:24 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2013-07-06 13:37:24 +0400 |
commit | 2ecc31c0aa99405bbfbb279249ae76365565f47d (patch) | |
tree | f78b2f6e8cb022f63f3b8f8452a512411dd58892 /Build.PL | |
parent | f455ecb7dabe31c10c4c901c87b5290686923151 (diff) |
Only work on GUI modules when --gui is supplied to Build.PL
Diffstat (limited to 'Build.PL')
-rw-r--r-- | Build.PL | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -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) { |