From bbc0fddbbad07eb9ccea1078aa675e666825948d Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 12 Mar 2020 15:58:28 +0800 Subject: [PATCH] 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 --- src/pybind/mgr/rook/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pybind/mgr/rook/CMakeLists.txt b/src/pybind/mgr/rook/CMakeLists.txt index 0ef7081d90c2d..15ba4c1493855 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" ) -- 2.39.5