diff --git a/LCS/MessageBus/CMakeLists.txt b/LCS/MessageBus/CMakeLists.txt index 41113fb9e24557eb4f044f12f7be3e99f53068a2..ab4763a103c483e07ea9ac494962501061ae1874 100644 --- a/LCS/MessageBus/CMakeLists.txt +++ b/LCS/MessageBus/CMakeLists.txt @@ -1,6 +1,11 @@ # $Id$ -lofar_package(MessageBus 1.0 DEPENDS Common pyparameterset) +# Python can be explicitly disabled, if only the C++ libraries are needed +if(USE_PYTHON) + lofar_package(MessageBus 1.0 DEPENDS Common pyparameterset) +else(USE_PYTHON) + lofar_package(MessageBus 1.0 DEPENDS Common) +endif(USE_PYTHON) include(LofarFindPackage) lofar_find_package(QPID)