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
diff options
context:
space:
mode:
Diffstat (limited to 'xs/Build.PL')
-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";