Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2013-07-06 13:37:24 +0400
committerAlessandro Ranellucci <aar@cpan.org>2013-07-06 13:37:24 +0400
commit2ecc31c0aa99405bbfbb279249ae76365565f47d (patch)
treef78b2f6e8cb022f63f3b8f8452a512411dd58892 /Build.PL
parentf455ecb7dabe31c10c4c901c87b5290686923151 (diff)
Only work on GUI modules when --gui is supplied to Build.PL
Diffstat (limited to 'Build.PL')
-rw-r--r--Build.PL11
1 files 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) {