Skip to content

Commit

Permalink
Update find_package for Python in root CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Sep 29, 2023
1 parent 6d0292f commit 82faf7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ if (APPLE)
set(CMAKE_MACOSX_RPATH 1)
endif()

find_package(Python COMPONENTS Interpreter Development)
# See https://github.com/pypa/manylinux/issues/1347#issuecomment-1179776736
find_package(Python COMPONENTS Interpreter Development.Module)
find_package(pybind11 CONFIG)

message(STATUS "Found pybind11: ${pybind11_VERSION}")
Expand Down

0 comments on commit 82faf7d

Please sign in to comment.