Skip to content
Snippets Groups Projects
Commit 00ffea41 authored by Cyril Moineau's avatar Cyril Moineau
Browse files

Update Pybind 2.10.4 -> 2.13.6

parent ec169671
No related branches found
No related tags found
2 merge requests!75Update 0.5.1 -> 0.6.0,!72Update Pybind 2.10.4 -> 2.13.6
Pipeline #70263 passed
function(generate_python_binding pybind_module_name target_to_bind)
function(generate_python_binding pybind_module_name target_to_bind)
add_definitions(-DPYBIND)
Include(FetchContent)
set(PYBIND_VERSION v2.10.4)
set(PYBIND_VERSION v2.13.6)
set(PYBIND11_FINDPYTHON ON)
message(STATUS "Retrieving pybind ${PYBIND_VERSION} from git")
......@@ -21,8 +21,8 @@ function(generate_python_binding pybind_module_name target_to_bind)
pybind11_add_module(${pybind_module_name} MODULE ${pybind_src_files} "NO_EXTRAS") # NO EXTRA recquired for pip install
target_include_directories(${pybind_module_name} PRIVATE "python_binding")
target_link_libraries(${pybind_module_name}
PRIVATE
target_link_libraries(${pybind_module_name}
PRIVATE
${target_to_bind}
CUDA::cublas
cudnn
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment