From 749c11dc5c9e53dc794c01ce044a921e62cde0d0 Mon Sep 17 00:00:00 2001 From: Jan Fajerski Date: Tue, 29 May 2018 14:29:41 +0200 Subject: [PATCH] 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. --- src/test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 09f19dd5887..a43335e8256 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) -- 2.47.3