[libcalamaresui] Be more careful about which bindings are in use
This commit is contained in:
parent
dbddeaba68
commit
633d6bda0d
@ -10,13 +10,16 @@
|
||||
|
||||
#include "PythonJobModule.h"
|
||||
|
||||
#include "CalamaresConfig.h"
|
||||
#ifdef WITH_PYBIND11
|
||||
#include "python/PythonJob.h"
|
||||
using JobType = Calamares::Python::Job;
|
||||
#else
|
||||
#elif defined(WITH_BOOST_PYTHON)
|
||||
// Old Boost::Python version
|
||||
#include "PythonJob.h"
|
||||
using JobType = Calamares::PythonJob;
|
||||
#else
|
||||
#error Python without bindings
|
||||
#endif
|
||||
|
||||
#include <QDir>
|
||||
|
Loading…
Reference in New Issue
Block a user