]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: build static libs if they are internal ones 40789/head
authorKefu Chai <kchai@redhat.com>
Fri, 19 Feb 2021 04:04:32 +0000 (12:04 +0800)
committerNathan Cutler <ncutler@suse.com>
Sun, 11 Apr 2021 10:09:07 +0000 (12:09 +0200)
commitdbe725d5bc37c0a43d0cd0f73f6369076de908dc
tree36ea78323cd7f30fbaa48c44b20c1e254e4cd78a
parent1976598f645ad1935a5e428219713b8856796d83
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
- code being changed does not exist in octopus
src/common/CMakeLists.txt