diff --git a/CEP/Calibration/ExpIon/CMakeLists.txt b/CEP/Calibration/ExpIon/CMakeLists.txt index 4c3e74c5daf05a5f69e051e2de6537fcb2d20235..3c3ce32fcb31ba8fc15c850ebef103eb4194c7b8 100644 --- a/CEP/Calibration/ExpIon/CMakeLists.txt +++ b/CEP/Calibration/ExpIon/CMakeLists.txt @@ -4,7 +4,6 @@ lofar_package(ExpIon 1.0 DEPENDS pyparameterset pyparmdb) include(LofarFindPackage) -lofar_find_package(Pyrap REQUIRED) lofar_find_package(Boost REQUIRED COMPONENTS python thread) -lofar_find_package(Casacore REQUIRED COMPONENTS scimath) +lofar_find_package(Casacore REQUIRED COMPONENTS python scimath) add_subdirectory(src) diff --git a/CEP/Calibration/pystationresponse/test/CMakeLists.txt b/CEP/Calibration/pystationresponse/test/CMakeLists.txt index c902b87fa880df69c9ea5972a30fba43bde5d70f..64287aff04e0cb41e5cd9c12f7fc3290a4302eb5 100644 --- a/CEP/Calibration/pystationresponse/test/CMakeLists.txt +++ b/CEP/Calibration/pystationresponse/test/CMakeLists.txt @@ -2,14 +2,14 @@ include(LofarCTest) -include(FindPythonModule) +include(LofarFindPackage) -find_python_module(pyrap) -if(PYTHON_PYRAP_FOUND) +lofar_find_package(Casacore REQUIRED COMPONENTS python) +if(CASA_PYTHON3_LIBRARY) #This test is disabled due to boost-python linking problems on CEP3 #lofar_add_test(tStationBeamNCP) -else(PYTHON_PYRAP_FOUND) +else(CASA_PYTHON3_LIBRARY) message(WARNING "Python-casacore was not found, disabling tStationBeamNCP") -endif(PYTHON_PYRAP_FOUND) +endif(CASA_PYTHON3_LIBRARY) lofar_add_test(tpystationresponse) diff --git a/CEP/DP3/PythonDPPP/CMakeLists.txt b/CEP/DP3/PythonDPPP/CMakeLists.txt index e53cd7a5d3d78c214e1c5d9a68a38f7fdd514bbf..9c30a889ca44e69ed92e13095e68b2a149dfeffd 100644 --- a/CEP/DP3/PythonDPPP/CMakeLists.txt +++ b/CEP/DP3/PythonDPPP/CMakeLists.txt @@ -8,10 +8,9 @@ FIND_PATH(BOOST_PYTHON_FOUND "boost/python.hpp") if(BOOST_PYTHON_FOUND) include(LofarFindPackage) - lofar_find_package(Pyrap REQUIRED) lofar_find_package(Python 3.4 REQUIRED) lofar_find_package(Boost REQUIRED COMPONENTS python) - lofar_find_package(Casacore COMPONENTS casa ms tables REQUIRED) + lofar_find_package(Casacore COMPONENTS casa ms tables python REQUIRED) add_subdirectory(include/PythonDPPP) add_subdirectory(src)