]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: build static libs if they are internal ones 39902/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:02:09 +0000 (23:02 +0100)
commitd645ced6781f0c4876c90282d5495212c6686c64
tree16e1e56f06de827fde5ddd89953762b61efd9830
parent64bf909ae11a0e3b8f664077550716fe2140ecc2
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)
src/blk/CMakeLists.txt
src/common/CMakeLists.txt