From 52f4cd47e790dbaa56c10010e6305d11519144c2 Mon Sep 17 00:00:00 2001 From: Auke Klazema <klazema@astron.nl> Date: Fri, 20 Jan 2017 08:04:55 +0000 Subject: [PATCH] Task #9898: Added find_python_module for the external (pip) modules --- MAC/Services/src/CMakeLists.txt | 4 ++++ MAC/Services/test/CMakeLists.txt | 3 +++ 2 files changed, 7 insertions(+) diff --git a/MAC/Services/src/CMakeLists.txt b/MAC/Services/src/CMakeLists.txt index 665e7d6dbc5..286bde15ebb 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 b1f0434a8f1..54988403fb1 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) -- GitLab