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