From e00df1ab09bf12291a9b7859b407b22e0c4799df Mon Sep 17 00:00:00 2001 From: Marcel Loose Date: Mon, 2 Sep 2024 12:36:54 +0200 Subject: [PATCH] Require Boost python3 component (#274) On some systems, the wrong Boost.Python version is searched if the component name is not explicitly given as `python3`. This is now fixed. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 313cc22..e495e28 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ find_package( # Find Casacore and its dependencies set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) find_package(Casacore REQUIRED) -find_package(Boost REQUIRED COMPONENTS python) +find_package(Boost REQUIRED COMPONENTS python3) # If environment variable CASACORE_DATA is set, assume it points to a directory # containing the cascacore data files, and install its contents.