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: v14.0.1~1217^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F22295%2Fhead;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 --- diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 1b2be79a8a93..cafe67879cc6 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -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()