]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: fix cython target in test/CMakeFile.txt 22326/head
authorJan Fajerski <jfajerski@suse.com>
Tue, 29 May 2018 12:29:41 +0000 (14:29 +0200)
committerJan Fajerski <jfajerski@suse.com>
Wed, 30 May 2018 14:19:16 +0000 (16:19 +0200)
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 <jfajerski@suse.com>
(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

index 09f19dd588733a7b89525447ea0bad72e21768b8..a43335e825680b3c54ec7309364d60a97b8ce4c8 100644 (file)
@@ -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)