Skip to content

Commit ac1db3e

Browse files
committed
Fix installation of python modules
1 parent 292ef23 commit ac1db3e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

bindings/python/pybind11/src/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ function(mgis_python_module fullname name)
2424
set_target_properties(py_${fullname} PROPERTIES
2525
CXX_VISIBILITY_PRESET "hidden"
2626
CUDA_VISIBILITY_PRESET "hidden")
27+
# installation
28+
install(TARGETS py_${fullname}
29+
DESTINATION ${MGIS_PYTHON_MODULES_INSTALL_DIRECTORY}
30+
COMPONENT python_bindings)
2731
endfunction(mgis_python_module)
2832

2933
mgis_python_module(mgis _mgis

0 commit comments

Comments
 (0)