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 <kchai@redhat.com>
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)