mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-13 19:11:49 +08:00
Link XS with -framework OpenGL on OSX.
This commit is contained in:
parent
73de247a15
commit
8e28bd36a2
@ -305,6 +305,8 @@ if ($ENV{SLIC3R_GUI}) {
|
||||
} else {
|
||||
push @LIBS, qw(-lopengl32);
|
||||
}
|
||||
} elsif ($^O eq 'darwin') {
|
||||
push @LIBS, qw(-framework OpenGL);
|
||||
} else {
|
||||
push @LIBS, qw(-lGL -lGLU);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user