mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Only work on GUI modules when --gui is supplied to Build.PL
This commit is contained in:
11
Build.PL
11
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) {
|
||||
|
||||
Reference in New Issue
Block a user