From: Jason Dillaman Date: Thu, 17 Jan 2019 20:57:29 +0000 (-0500) Subject: pybind/mgr: exclude CMakeFiles.txt files from being installed X-Git-Tag: v14.1.0~266^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=be04ebbfe279cab1d8b4f6366542c1eea873b859;p=ceph.git pybind/mgr: exclude CMakeFiles.txt files from being installed Signed-off-by: Jason Dillaman --- diff --git a/src/pybind/CMakeLists.txt b/src/pybind/CMakeLists.txt index f283f651807..f860f80739d 100644 --- a/src/pybind/CMakeLists.txt +++ b/src/pybind/CMakeLists.txt @@ -102,6 +102,7 @@ if(WITH_MGR) install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/mgr DESTINATION ${CMAKE_INSTALL_PKGLIBDIR} + REGEX ".*/CMakeLists.txt" EXCLUDE REGEX ".*/\\.gitignore" EXCLUDE REGEX ".*/hello/.*" EXCLUDE) add_subdirectory(mgr)