Skip to content

Commit

Permalink
Require Boost python3 component (#274)
Browse files Browse the repository at this point in the history
On some systems, the wrong Boost.Python version is searched if the component name is not explicitly given as `python3`.
This is now fixed.
  • Loading branch information
gmloose authored Sep 2, 2024
1 parent db14e98 commit e00df1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e00df1a

Please sign in to comment.