]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: build static libs if they are internal ones 39904/head
authorKefu Chai <kchai@redhat.com>
Fri, 19 Feb 2021 04:04:32 +0000 (12:04 +0800)
committersinguliere <singuliere@autistici.org>
Sun, 7 Mar 2021 22:10:02 +0000 (23:10 +0100)
commit53139eca6ebb7480402ceb941155895cda67fd85
tree1c9de7d0385efce930fef45fdac4e6dce9c11e10
parent943a5082b9668ecda66345afdb61599e82d280b7
cmake: build static libs if they are internal ones

there are chances that user or build script set `BUILD_SHARED_LIBS`,
so these convenience libraries (using the autotools' terminology)
are built and linked by never get installed.

Fixes: https://tracker.ceph.com/issues/38611
Fixes: https://tracker.ceph.com/issues/49080
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit df841b241efd387044d9637b1cf67d198bd1398e)

 Conflicts:
src/blk/CMakeLists.txt
introduced in pacific https://github.com/ceph/ceph/pull/34622/files
src/common/CMakeLists.txt