diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-23 14:32:18 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-23 14:32:49 +0200 |
commit | 82ec1be31f2a13bca04cf1a6b69789c9cee0e535 (patch) | |
tree | fed19ab35ad400d2642da1c4a327d89b0ff90f36 /gui/pythontab.h | |
parent | b63fdfbeab5abb390c5c2c7b069672c9c8e06c82 (diff) | |
download | nextpnr-82ec1be31f2a13bca04cf1a6b69789c9cee0e535.tar.gz nextpnr-82ec1be31f2a13bca04cf1a6b69789c9cee0e535.tar.bz2 nextpnr-82ec1be31f2a13bca04cf1a6b69789c9cee0e535.zip |
Added BUILD_GUI, BUILD_PYTHON and BUILD_TESTS cmake options,
Diffstat (limited to 'gui/pythontab.h')
-rw-r--r-- | gui/pythontab.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/pythontab.h b/gui/pythontab.h index f37381d7..40de0ebe 100644 --- a/gui/pythontab.h +++ b/gui/pythontab.h @@ -20,6 +20,8 @@ #ifndef PYTHONTAB_H
#define PYTHONTAB_H
+#ifndef NO_PYTHON
+
#include <QLineEdit>
#include <QMenu>
#include <QPlainTextEdit>
@@ -52,5 +54,6 @@ class PythonTab : public QWidget };
NEXTPNR_NAMESPACE_END
+#endif // NO_PYTHON
#endif // PYTHONTAB_H
|