From: Kefu Chai Date: Thu, 12 Mar 2020 07:58:28 +0000 (+0800) Subject: cmake: do not rerun generate_rook_ceph_client.sh everytime X-Git-Tag: v16.0.0~36^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bbc0fddbbad07eb9ccea1078aa675e666825948d;p=ceph.git cmake: do not rerun generate_rook_ceph_client.sh everytime no need to rerun this script everytime when building ceph-mgr or the default build target. Signed-off-by: Kefu Chai --- diff --git a/src/pybind/mgr/rook/CMakeLists.txt b/src/pybind/mgr/rook/CMakeLists.txt index 0ef7081d90c2..15ba4c149385 100644 --- a/src/pybind/mgr/rook/CMakeLists.txt +++ b/src/pybind/mgr/rook/CMakeLists.txt @@ -1,12 +1,10 @@ add_custom_command( OUTPUT rook_client/__init__.py COMMAND ./generate_rook_ceph_client.sh - DEPENDS rook_cluster.py COMMENT "generating mgr/rook/rook_client" WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/src/pybind/mgr/rook") add_custom_target(mgr-rook-client - ALL DEPENDS rook_client/__init__.py WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/src/pybind/mgr/rook" )