]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: rework NSS and SSL
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 20 Jun 2016 21:21:53 +0000 (17:21 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 29 Jun 2016 16:36:46 +0000 (12:36 -0400)
commit83e66809e9ce49611d064f0c7ddfe2b0d6e8a851
treed770451dc3ff70ae9e0070850bbccec412189620
parentee7949f1e50354df432c285ffb06d0306689cec7
cmake: rework NSS and SSL

The cmake build should select NSS or CryptoPP consistently with
current autoconf logic, as used in our RHEL builds (-DWITH_NSS),
and the SSL linkage must match (for NSS, -lssl3).

With this change, there is no direct linkage with libssl when NSS
is selected (I still see indirect linkage via libcurl, in turn
via libssh2, looking into that).

With guidance from upstream and downstream, NSS builds are now
selected by default.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
CMakeLists.txt
src/CMakeLists.txt