]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: do not pass ${PYTHON_VERSION} to distutils_add_cython_module()
authorKefu Chai <kchai@redhat.com>
Wed, 28 Apr 2021 14:54:49 +0000 (22:54 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 28 Apr 2021 16:11:28 +0000 (00:11 +0800)
the python2 support was dropped in
5fc657b40dc7d27e84d4b62b5f37d9c771d74fcd, so no need to pass the python
version anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/rgw/CMakeLists.txt

index 2c8309cdd351ef854780588575bbda72cb2a328c..5b1a955c56c99384191b01c541a2ec79a7f20037 100644 (file)
@@ -1,7 +1,6 @@
 distutils_add_cython_module(cython${PYTHON_VERSION}_rgw
   rgw
-  ${CMAKE_CURRENT_SOURCE_DIR}/rgw.pyx
-  ${PYTHON_VERSION})
+  ${CMAKE_CURRENT_SOURCE_DIR}/rgw.pyx)
 add_dependencies(cython${PYTHON_VERSION}_rgw rgw)
 distutils_install_cython_module(cython${PYTHON_VERSION}_rgw
   ${PYTHON_VERSION})