Skip to content

Commit

Permalink
Use pybind11's new mode to work around CMP0148 related dev warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
AmineKhaldi committed Jan 23, 2024
1 parent 8816486 commit 32a5a11
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 @@ -24,6 +24,7 @@ FetchContent_Declare(
GIT_REPOSITORY https://github.com/pybind/pybind11.git
GIT_TAG v2.11.1
)
set(PYBIND11_FINDPYTHON ON)
FetchContent_MakeAvailable(pybind11-src)
endif()

Expand Down

0 comments on commit 32a5a11

Please sign in to comment.