Skip to content

Commit

Permalink
set(PYBIND11_FINDPYTHON ON) in CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Aug 17, 2023
1 parent 7876c8c commit 297b3df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ if (APPLE)
set(CMAKE_MACOSX_RPATH 1)
endif()

set(PYBIND11_FINDPYTHON ON)
find_package(pybind11)
message(STATUS "Found pybind11: ${pybind11_VERSION}")
if(${pybind11_VERSION} VERSION_LESS '2.11.1')
Expand Down

0 comments on commit 297b3df

Please sign in to comment.