mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 19:19:02 +08:00
Added more search paths for Boost on Win32
This commit is contained in:
parent
c34430c6c4
commit
2e9a0f5590
@ -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';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user