From: Jan Fajerski Date: Tue, 29 May 2018 12:29:41 +0000 (+0200) Subject: cmake: fix cython target in test/CMakeFile.txt X-Git-Tag: v13.2.0~3^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=749c11dc5c9e53dc794c01ce044a921e62cde0d0;p=ceph.git cmake: fix cython target in test/CMakeFile.txt The cython target is called cython_modules in python2 environments and cython3_modules in python3 environments. Reflect that naming in src/test/CMakeFile.txt. Otherwise the test target can not build in python3 environments. Signed-off-by: Jan Fajerski (cherry picked from commit 743b9108c0f217ef6eeaadf645a538991e7d5eff) Conflicts: src/test/CMakeLists.txt - Resovled by changing line 548 to "cython${PY_BINDING_INFIX}_modules)" and picking no other changes. --- diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 09f19dd588733..a43335e825680 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -545,7 +545,7 @@ add_dependencies(tests ceph_erasure_code_non_regression ceph_erasure_code ceph-disk - cython_modules) + cython${PY_BINDING_INFIX}_modules) if(WITH_RBD) add_dependencies(tests unittest_librbd rbd) if(FREEBSD)