CMAKE: Workaround for python
This commit is contained in:
@@ -38,6 +38,12 @@
|
||||
|
||||
#ifndef PYTHONCALLER_H
|
||||
#define PYTHONCALLER_H
|
||||
|
||||
// Workaround for CMAKE and Python
|
||||
#ifdef slots
|
||||
#undef slots
|
||||
#endif
|
||||
|
||||
#include <Python.h>
|
||||
#include <QString>
|
||||
#include <string>
|
||||
|
||||
@@ -41,7 +41,13 @@
|
||||
#define EVALUATIONTOOL_H
|
||||
|
||||
#include "selectmetrics.h"
|
||||
|
||||
// Workaround for CMAKE and Python
|
||||
#ifdef slots
|
||||
#undef slots
|
||||
#endif
|
||||
#include <Python.h>
|
||||
|
||||
#include <QWidget>
|
||||
#include <QStandardItem>
|
||||
#include <QStandardItemModel>
|
||||
|
||||
Reference in New Issue
Block a user