[libcalamaresui] Be more careful about which bindings are in use

This commit is contained in:
Adriaan de Groot 2024-02-24 21:47:24 +01:00
parent dbddeaba68
commit 633d6bda0d

View File

@ -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>