Skip to content
Snippets Groups Projects
Commit 0dfbb187 authored by Auke Klazema's avatar Auke Klazema
Browse files

SW-609: Make cmake find libboost_python3

parent e5054dc0
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,6 @@
lofar_package(ExpIon 1.0 DEPENDS pyparameterset pyparmdb)
include(LofarFindPackage)
lofar_find_package(Boost REQUIRED COMPONENTS python thread)
lofar_find_package(Boost REQUIRED COMPONENTS python3 thread)
lofar_find_package(Casacore REQUIRED COMPONENTS python scimath)
add_subdirectory(src)
......@@ -4,7 +4,7 @@ lofar_package(pystationresponse 1.0 DEPENDS StationResponse)
include(LofarFindPackage)
lofar_find_package(Python 3.4 REQUIRED)
lofar_find_package(Boost REQUIRED COMPONENTS python)
lofar_find_package(Boost REQUIRED COMPONENTS python3)
lofar_find_package(Casacore REQUIRED COMPONENTS python)
add_subdirectory(src)
......
......@@ -5,7 +5,7 @@ lofar_package(DPPP_AOFlag 1.0 DEPENDS DPPP)
include(LofarFindPackage)
lofar_find_package(AOFlagger REQUIRED)
lofar_find_package(Casacore COMPONENTS casa ms tables REQUIRED)
lofar_find_package(Boost REQUIRED COMPONENTS date_time thread filesystem system python)
lofar_find_package(Boost REQUIRED COMPONENTS date_time thread filesystem system python3)
# AOFlagger depends on Python 2.7, see aoflagger CMake
lofar_find_package(Python 3.4 REQUIRED)
#lofar_find_package(GSL)
......
......@@ -9,7 +9,7 @@ FIND_PATH(BOOST_PYTHON_FOUND "boost/python.hpp")
if(BOOST_PYTHON_FOUND)
include(LofarFindPackage)
lofar_find_package(Python 3.4 REQUIRED)
lofar_find_package(Boost REQUIRED COMPONENTS python)
lofar_find_package(Boost REQUIRED COMPONENTS python3)
lofar_find_package(Casacore COMPONENTS casa ms tables python REQUIRED)
add_subdirectory(include/PythonDPPP)
......
......@@ -8,7 +8,7 @@ lofar_find_package(Casa COMPONENTS synthesis components)
if(${CASA_FOUND})
lofar_find_package(Casacore REQUIRED COMPONENTS images msfits coordinates python)
lofar_find_package(Boost REQUIRED COMPONENTS thread python system)
lofar_find_package(Boost REQUIRED COMPONENTS thread python3 system)
lofar_find_package(FFTW3 REQUIRED COMPONENTS single double threads)
lofar_find_package(Python 3.4 REQUIRED)
lofar_find_package(Pyrap REQUIRED)
......
......@@ -3,7 +3,7 @@
lofar_package(pyparmdb 1.0 DEPENDS Common ParmDB)
include(LofarFindPackage)
lofar_find_package(Boost REQUIRED COMPONENTS python)
lofar_find_package(Boost REQUIRED COMPONENTS python3)
lofar_find_package(Python 3.4 REQUIRED)
lofar_find_package(Casacore REQUIRED COMPONENTS python)
......
......@@ -8,7 +8,7 @@ set(WINCC_ROOT_DIR /opt/WinCC_OA/3.15 CACHE PATH "root dir where the WinCC_OA ap
lofar_find_package(WINCC)
IF(WINCC_FOUND)
lofar_find_package(Boost REQUIRED python)
lofar_find_package(Boost REQUIRED python3)
lofar_find_package(Python 3.4 REQUIRED)
add_subdirectory(include)
......
......@@ -17,7 +17,7 @@ if(BOOST_PYTHON_FOUND)
include(LofarFindPackage)
lofar_find_package(Python 3.4 REQUIRED)
lofar_find_package(Boost REQUIRED COMPONENTS python)
lofar_find_package(Boost REQUIRED COMPONENTS python3)
include(PythonInstall)
set(_py_files __init__.py)
......
......@@ -3,7 +3,7 @@
lofar_package(pyparameterset 1.0 DEPENDS pytools)
include(LofarFindPackage)
lofar_find_package(Boost REQUIRED COMPONENTS python)
lofar_find_package(Boost REQUIRED COMPONENTS python3)
lofar_find_package(Python 3.4 REQUIRED)
add_subdirectory(src)
......
......@@ -3,7 +3,7 @@
lofar_package(pytools 1.0 DEPENDS Common)
include(LofarFindPackage)
lofar_find_package(Boost REQUIRED COMPONENTS python)
lofar_find_package(Boost REQUIRED COMPONENTS python3)
lofar_find_package(Python 3.4 REQUIRED)
add_subdirectory(include/pytools)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment