]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: fix cython target in test/CMakeFile.txt 22295/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 07:06:55 +0000 (09:06 +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>
src/test/CMakeLists.txt

index 1b2be79a8a93bfed7367894bfa08d9699ea40c76..cafe67879cc64319abf994881f5d386941a44287 100644 (file)
@@ -557,7 +557,7 @@ add_dependencies(tests
   ceph_erasure_code_non_regression
   ceph_erasure_code
   ceph-disk
-  cython_modules)
+  cython${PY_BINDING_INFIX}_modules)
 if(WITH_MGR)
   add_dependencies(tests ceph-mgr)
 endif()