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/handle_error.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/handle_error.cc') diff --git a/common/handle_error.cc b/common/handle_error.cc index 7076c188..a091f07e 100644 --- a/common/handle_error.cc +++ b/common/handle_error.cc @@ -1,3 +1,5 @@ +#ifndef NO_PYTHON + #include #include #include "nextpnr.h" @@ -61,3 +63,5 @@ std::string parse_python_exception() } NEXTPNR_NAMESPACE_END + +#endif // NO_PYTHON \ No newline at end of file -- cgit v1.2.3