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/emb.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/emb.cc') diff --git a/common/emb.cc b/common/emb.cc index 2e3379d5..27c5d6e1 100644 --- a/common/emb.cc +++ b/common/emb.cc @@ -5,6 +5,7 @@ // http://www.boost.org/LICENSE_1_0.txt) // // Blog article: http://mateusz.loskot.net/?p=2819 +#ifndef NO_PYTHON #include "emb.h" #include @@ -136,3 +137,5 @@ void reset_stdout() void append_inittab() { PyImport_AppendInittab("emb", emb::PyInit_emb); } } // namespace emb + +#endif // NO_PYTHON \ No newline at end of file -- cgit v1.2.3