Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xs
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-03-16 16:09:42 +0300
committerbubnikv <bubnikv@gmail.com>2017-03-16 16:09:42 +0300
commit73de247a15cfd13b735dddebdc10cc2edb3805ff (patch)
tree67ecb543615b1e821c573dffb4bb7e7ff53d2929 /xs
parent7f7d2da5fe550a256169f9b806369833a8aafbf8 (diff)
Enabled SLIC3R_GUI by default. This is required to enable the OpenGL 2.0
API through C++ GLEW.
Diffstat (limited to 'xs')
-rw-r--r--xs/Build.PL2
1 files changed, 2 insertions, 0 deletions
diff --git a/xs/Build.PL b/xs/Build.PL
index 5d2b84ccc..7d82a6eec 100644
--- a/xs/Build.PL
+++ b/xs/Build.PL
@@ -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";