mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
Enabled SLIC3R_GUI by default. This is required to enable the OpenGL 2.0
API through C++ GLEW.
This commit is contained in:
@@ -43,6 +43,8 @@ my @early_includes = ();
|
|||||||
my @INC = qw(-Isrc/libslic3r -Isrc/glew/include);
|
my @INC = qw(-Isrc/libslic3r -Isrc/glew/include);
|
||||||
my @LIBS = $cpp_guess->is_msvc ? qw(-LIBPATH:src/libslic3r) : qw(-Lsrc/libslic3r);
|
my @LIBS = $cpp_guess->is_msvc ? qw(-LIBPATH:src/libslic3r) : qw(-Lsrc/libslic3r);
|
||||||
|
|
||||||
|
$ENV{SLIC3R_GUI} = 1 if $ENV{SLIC3R_NOGUI} != 1;
|
||||||
|
|
||||||
if ($ENV{SLIC3R_GUI} || $ENV{SLIC3R_PRUS})
|
if ($ENV{SLIC3R_GUI} || $ENV{SLIC3R_PRUS})
|
||||||
{
|
{
|
||||||
print "Slic3r will be built with GUI support\n";
|
print "Slic3r will be built with GUI support\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user