diff --git a/MAC/Services/src/CMakeLists.txt b/MAC/Services/src/CMakeLists.txt
index 665e7d6dbc5f1f87ab3718f73b795d833828bf9f..286bde15ebb4af8fc1e9d443a55f8a9c8c2b1b00 100644
--- a/MAC/Services/src/CMakeLists.txt
+++ b/MAC/Services/src/CMakeLists.txt
@@ -1,5 +1,9 @@
 # $Id$
 
+include(FindPythonModule)
+
+find_python_module(fabric REQUIRED)
+
 lofar_add_bin_scripts(
   pipelinecontrol
   observationcontrol2
diff --git a/MAC/Services/test/CMakeLists.txt b/MAC/Services/test/CMakeLists.txt
index b1f0434a8f1707e19fd427b3127dd71721809014..54988403fb1651e60c3f33cbcb02c9ba713d740d 100644
--- a/MAC/Services/test/CMakeLists.txt
+++ b/MAC/Services/test/CMakeLists.txt
@@ -1,8 +1,11 @@
 # $Id$
 
 include(LofarCTest)
+include(FindPythonModule)
 
 lofar_find_package(Python REQUIRED)
 
+find_python_module(mock REQUIRED)
+
 lofar_add_test(tPipelineControl)