From: Kefu Chai Date: Wed, 28 Apr 2021 14:54:49 +0000 (+0800) Subject: cmake: do not pass ${PYTHON_VERSION} to distutils_add_cython_module() X-Git-Tag: v17.1.0~2104^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=657fa4b70005074f0555fe409e505f49db6bc546;p=ceph.git cmake: do not pass ${PYTHON_VERSION} to distutils_add_cython_module() the python2 support was dropped in 5fc657b40dc7d27e84d4b62b5f37d9c771d74fcd, so no need to pass the python version anymore. Signed-off-by: Kefu Chai --- diff --git a/src/pybind/rgw/CMakeLists.txt b/src/pybind/rgw/CMakeLists.txt index 2c8309cdd351..5b1a955c56c9 100644 --- a/src/pybind/rgw/CMakeLists.txt +++ b/src/pybind/rgw/CMakeLists.txt @@ -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})