Skip to content

Commit

Permalink
Include our own snapshot of pybind11 instead of fetching it
Browse files Browse the repository at this point in the history
  • Loading branch information
etphipp committed Mar 1, 2023
1 parent 7f0c801 commit 158f441
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -407,15 +407,7 @@ IF(ENABLE_PYTHON)

SET(PYBIND11_PYTHON_VERSION ${PYTHON_VERSION})

include(FetchContent)
FetchContent_Declare(
pybind11
GIT_REPOSITORY https://github.com/pybind/pybind11.git
GIT_TAG v2.6.2
GIT_SHALLOW TRUE
)

FetchContent_MakeAvailable(pybind11)
ADD_SUBDIRECTORY(tpls/pybind11)
SET(HAVE_PYTHON ON)
ENDIF()

Expand Down

0 comments on commit 158f441

Please sign in to comment.