Skip to content

Commit

Permalink
Require Boost python3 component
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 committed Aug 29, 2024
1 parent db14e98 commit a3a28da
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 a3a28da

Please sign in to comment.