diff options
author | Slic3rPE <slic3r@Slic3rPEs-MacBook-Pro.local> | 2020-08-26 16:50:05 +0300 |
---|---|---|
committer | Slic3rPE <slic3r@Slic3rPEs-MacBook-Pro.local> | 2020-08-26 16:50:05 +0300 |
commit | e0e75f4a0e9a3942edd5f635ba309adb2f8208ef (patch) | |
tree | 82e7d3db00d6289a0328dd1aafd7e939d4cb7813 | |
parent | 56431d26e5b01d9f206ad52a7eff4de443ec8038 (diff) |
Starting a new Slicer instance from the menu - fix of Windows build
-rw-r--r-- | src/slic3r/GUI/MainFrame.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp index 122d9c610..8f2aeef8a 100644 --- a/src/slic3r/GUI/MainFrame.cpp +++ b/src/slic3r/GUI/MainFrame.cpp @@ -13,7 +13,6 @@ #include <wx/debug.h> #include <boost/algorithm/string/predicate.hpp> -#include <boost/process/spawn.hpp> #include "libslic3r/Print.hpp" #include "libslic3r/Polygon.hpp" @@ -41,6 +40,12 @@ #include <shlobj.h> #endif // _WIN32 +// For starting another PrusaSlicer instance on OSX. +// Fails to compile on Windows on the build server. +#ifdef __APPLE__ + #include <boost/process/spawn.hpp> +#endif + namespace Slic3r { namespace GUI { |