From: Kefu Chai Date: Tue, 8 Jun 2021 05:05:40 +0000 (+0800) Subject: cmake: vstart do not depend on cython_rbd if WIN32 X-Git-Tag: v17.1.0~1684^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=53de4a5713563fc7a13b0eeaad3916a2ff2609ba;p=ceph-ci.git cmake: vstart do not depend on cython_rbd if WIN32 6eacbdcac18dbe4500f455ec1489caaba1e84baa introduced a regression which fails the WIN32 build. like: CMake Error at src/CMakeLists.txt:916 (add_dependencies): The dependency target "cython_rbd" of target "vstart" does not exist. in this change, cython_rbd is excluded from the vstart targets on WIN32 build. Signed-off-by: Kefu Chai --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 73b3279505c..760a2ceb0ca 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -912,7 +912,7 @@ if (WITH_MGR) endif() add_custom_target(vstart DEPENDS vstart-base) -if(WITH_RBD) +if(WITH_RBD AND NOT WIN32) add_dependencies(vstart cython_rbd) endif() if (WITH_CEPHFS)