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, --- common/pybindings.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/pybindings.cc') diff --git a/common/pybindings.cc b/common/pybindings.cc index a9c32c1c..b67320a2 100644 --- a/common/pybindings.cc +++ b/common/pybindings.cc @@ -18,6 +18,8 @@ * */ +#ifndef NO_PYTHON + #include "pybindings.h" #include "emb.h" #include "jsonparse.h" @@ -186,3 +188,5 @@ void execute_python_file(const char *python_file) } NEXTPNR_NAMESPACE_END + +#endif // NO_PYTHON \ No newline at end of file -- cgit v1.2.3