mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Link XS with -framework OpenGL on OSX.
This commit is contained in:
@@ -305,6 +305,8 @@ if ($ENV{SLIC3R_GUI}) {
|
|||||||
} else {
|
} else {
|
||||||
push @LIBS, qw(-lopengl32);
|
push @LIBS, qw(-lopengl32);
|
||||||
}
|
}
|
||||||
|
} elsif ($^O eq 'darwin') {
|
||||||
|
push @LIBS, qw(-framework OpenGL);
|
||||||
} else {
|
} else {
|
||||||
push @LIBS, qw(-lGL -lGLU);
|
push @LIBS, qw(-lGL -lGLU);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user