From 82ec1be31f2a13bca04cf1a6b69789c9cee0e535 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 23 Jun 2018 14:32:18 +0200 Subject: Added BUILD_GUI, BUILD_PYTHON and BUILD_TESTS cmake options, --- gui/pythontab.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gui/pythontab.h') 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 #include #include @@ -52,5 +54,6 @@ class PythonTab : public QWidget }; NEXTPNR_NAMESPACE_END +#endif // NO_PYTHON #endif // PYTHONTAB_H -- cgit v1.2.3