Enabled SLIC3R_GUI by default. This is required to enable the OpenGL 2.0

API through C++ GLEW.
This commit is contained in:
bubnikv 2017-03-16 14:09:42 +01:00
parent 7f7d2da5fe
commit 73de247a15

View file

@ -43,6 +43,8 @@ my @early_includes = ();
my @INC = qw(-Isrc/libslic3r -Isrc/glew/include);
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})
{
print "Slic3r will be built with GUI support\n";