File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# https://stackoverflow.com/questions/51907755/building-a-pybind11-module-with-cpp-and-cuda-sources-using-cmake
22
33cmake_minimum_required (VERSION 3.15 )
4+ set (CMAKE_POLICY_VERSION_MINIMUM 3.5)
45
56message (STATUS "Found Python prefix ${PYTHON_PREFIX} " )
67list (PREPEND CMAKE_PREFIX_PATH "${PYTHON_PREFIX} " )
78
89project (python-samplerate)
910set (CMAKE_EXPORT_COMPILE_COMMANDS ON )
1011
11- cmake_policy (SET CMP0094 NEW )
12+ cmake_policy (SET CMP0148 NEW )
1213
1314# adds the external dependencies
1415add_subdirectory (external )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ include(FetchContent)
44FetchContent_Declare (
55 pybind11
66 GIT_REPOSITORY https://github.com/pybind/pybind11
7- GIT_TAG 5b0a6fc2017fcc176545afe3e09c9f9885283242 # 2.10.4
7+ GIT_TAG f5fbe867d2d26e4a0a9177a51f6e568868ad3dc8 # 3.0.1
88)
99
1010FetchContent_MakeAvailable (pybind11)
You can’t perform that action at this time.
0 commit comments