mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 04:31:17 -07:00
Disable screensaver while projecting (untested on Windows)
This commit is contained in:
parent
366b364996
commit
e2b203ba8d
6 changed files with 84 additions and 3 deletions
|
|
@ -12,6 +12,10 @@ use Module::Build::WithXSpp;
|
|||
# NOGDI : prevents inclusion of wingdi.h which defines functions Polygon() and Polyline() in global namespace
|
||||
# BOOST_ASIO_DISABLE_KQUEUE : prevents a Boost ASIO bug on OS X: https://svn.boost.org/trac/boost/ticket/5339
|
||||
my @cflags = qw(-D_GLIBCXX_USE_C99 -DHAS_BOOL -DNOGDI -DSLIC3RXS -DBOOST_ASIO_DISABLE_KQUEUE);
|
||||
my @ldflags = ();
|
||||
if ($^O eq 'darwin') {
|
||||
push @ldflags, qw(-framework IOKit -framework CoreFoundation);
|
||||
}
|
||||
|
||||
my @INC = qw();
|
||||
my @LIBS = qw();
|
||||
|
|
@ -117,7 +121,7 @@ my $build = Module::Build::WithXSpp->new(
|
|||
Module::Build::WithXSpp 0.13
|
||||
)},
|
||||
extra_compiler_flags => [ @INC, @cflags ],
|
||||
extra_linker_flags => \@LIBS,
|
||||
extra_linker_flags => [ @LIBS, @ldflags ],
|
||||
|
||||
# Provides extra C typemaps that are auto-merged
|
||||
extra_typemap_modules => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue