mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-01 05:01:10 -06:00
Merge branch 'master' into xs
This commit is contained in:
commit
28f8083ab7
7 changed files with 87 additions and 15 deletions
15
Build.PL
15
Build.PL
|
|
@ -28,9 +28,15 @@ my %recommends = qw(
|
|||
Growl::GNTP 0.15
|
||||
XML::SAX::ExpatXS 0
|
||||
);
|
||||
|
||||
# removed:
|
||||
# Wx 0.9901
|
||||
if ($ARGV[0] eq '--gui') {
|
||||
%prereqs = qw(
|
||||
Wx 0.9901
|
||||
);
|
||||
%recommends = qw(
|
||||
Wx::GLCanvas 0
|
||||
OpenGL 0
|
||||
);
|
||||
}
|
||||
|
||||
my $missing_prereqs = 0;
|
||||
if ($ENV{SLIC3R_NO_AUTO}) {
|
||||
|
|
@ -80,6 +86,9 @@ If it is installed in a non-standard location you can do:
|
|||
EOF
|
||||
if !$cpanm;
|
||||
|
||||
# make sure our cpanm is updated (old ones don't support the ~ syntax)
|
||||
system $cpanm, 'App::cpanminus';
|
||||
|
||||
my %modules = (%prereqs, %recommends);
|
||||
foreach my $module (sort keys %modules) {
|
||||
my $version = $modules{$module};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue