summaryrefslogtreecommitdiffstats
path: root/src/pybind/rbd/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind/rbd/CMakeLists.txt')
-rw-r--r--src/pybind/rbd/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pybind/rbd/CMakeLists.txt b/src/pybind/rbd/CMakeLists.txt
new file mode 100644
index 00000000..fee56ec4
--- /dev/null
+++ b/src/pybind/rbd/CMakeLists.txt
@@ -0,0 +1,3 @@
+distutils_add_cython_module(cython${PYTHON_VERSION}_rbd ${CMAKE_CURRENT_SOURCE_DIR}/rbd.pyx)
+add_dependencies(cython${PYTHON_VERSION}_rbd librbd)
+distutils_install_cython_module(cython${PYTHON_VERSION}_rbd)