]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: build static libs if they are internal ones 39903/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:04:49 +0000 (23:04 +0100)
commit631c7f2d5ae7e9d2c7cd56e052aebf2e8c8a131d
treebb98da52e630c5518ec29cd41d516e480670d850
parent9b829698f3d6269668c9402131bbfba81df6df0f
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