WIP fix of PostProcessor on Linux

This commit is contained in:
bubnikv
2018-09-17 15:32:54 +02:00
parent 51e650f6bf
commit 22e5db2c39

View File

@@ -1,18 +1,23 @@
#include "PostProcessor.hpp"
namespace Slic3r {
#ifdef WIN32
namespace Slic3r {
//FIXME Ignore until we include boost::process
void run_post_process_scripts(const std::string &path, const PrintConfig &config)
{
}
} // namespace Slic3r
#else
#include <boost/process/system.hpp>
namespace Slic3r {
void run_post_process_scripts(const std::string &path, const PrintConfig &config)
{
if (config.post_process.values.empty())
@@ -50,6 +55,6 @@ void run_post_process_scripts(const std::string &path, const PrintConfig &config
}
}
#endif
} // namespace Slic3r
#endif