mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-13 01:19:03 +08:00
Support locating Boost under BOOST_DIR/lib
This commit is contained in:
parent
734e6e7ef9
commit
90c192e8ed
@ -127,7 +127,7 @@ if (defined $ENV{BOOST_LIBRARYPATH}) {
|
||||
push @boost_libs, $ENV{BOOST_LIBRARYPATH}
|
||||
} elsif (defined $ENV{BOOST_DIR}) {
|
||||
# User might have provided a path relative to the Build.PL in the main directory
|
||||
foreach my $subdir ("$ENV{BOOST_DIR}/stage/lib", "../$ENV{BOOST_DIR}/stage/lib") {
|
||||
foreach my $subdir ("$ENV{BOOST_DIR}/stage/lib", "../$ENV{BOOST_DIR}/stage/lib", "$ENV{BOOST_DIR}/lib", "../$ENV{BOOST_DIR}/lib") {
|
||||
next if $subdir =~ m{^\.\.//};
|
||||
printf "Checking %s: ", $subdir;
|
||||
if (-d $subdir) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user