mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Added more search paths for Boost on Win32
This commit is contained in:
@@ -29,6 +29,13 @@ if (defined $ENV{BOOST_DIR}) {
|
|||||||
push @LIBS, map "-L$_", grep { -d $_ }
|
push @LIBS, map "-L$_", grep { -d $_ }
|
||||||
qw(/opt/local/lib /usr/local/lib /opt/lib /usr/lib),
|
qw(/opt/local/lib /usr/local/lib /opt/lib /usr/lib),
|
||||||
qw(C:/Boost/lib /lib);
|
qw(C:/Boost/lib /lib);
|
||||||
|
|
||||||
|
if ($^O eq 'MSWin32') {
|
||||||
|
for my $path (glob 'C:/dev/boost* C:/boost*') {
|
||||||
|
push @INC "-I" . $path;
|
||||||
|
push @INC "-L" . $path . "/stage/lib";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
push @INC, '-Iinclude';
|
push @INC, '-Iinclude';
|
||||||
|
|||||||
Reference in New Issue
Block a user