WIP fix of PostProcessor on Linux

This commit is contained in:
bubnikv 2018-09-17 15:32:54 +02:00
parent fe3b92870f
commit 153bd108a2

View File

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