]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: build static libs if they are internal ones 39566/head
authorKefu Chai <kchai@redhat.com>
Fri, 19 Feb 2021 04:04:32 +0000 (12:04 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 19 Feb 2021 04:10:15 +0000 (12:10 +0800)
commitdf841b241efd387044d9637b1cf67d198bd1398e
treea7f4646a709fdcea65224873c78462240cc8f5fa
parent0c2164c2ab77eb5f383318b2081a2c15e35e2610
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>
src/blk/CMakeLists.txt
src/common/CMakeLists.txt